Bug Closed · Could not replicate

Faction Permission doesn't work (MM 5.0)

#2158 opened by Unknown 5 years ago

Unknownreported this bug

Summary

The Permission Node: Faction.factionname is invaild

Steps to reproduce Mobs Document

  Test:
    Type: iron_golem
    Skills:
    - skill:FactionTest @EIR{r=16] ~onTimer:1

Skills Document

  阵营:
    TargetConditions:
    - faction true
    Skills:
    - message{m="1"}

Just Spawn "Test"

Current behavior

I have the permission: Faction.true
But this mob doesn't send message to me
I think it's because im not in faction: true
But I already have the permission: Faction.true

Intended correct behavior

If the permission is vaild,the mob will send "1" to me.

Server log file

Doesn't have any error log(including: debug level 3 and reload).

Debug log snippet

Doesn't have any error log(debug level 3).

Proposed fixes

Fix this Permission Node.

Unknowncommented

dont use - faction true, use the syntax provided in the wiki.

TestFaction:
  TargetConditions:
  - faction{f=true} true
  Skills:
  - message{m="1"}

and make sure you're in survival since most targeters will ignore players in creative/spectator gamemode.

Unknowncommented

still doesn't work,im in survival mode.

Unknowncommented

@EIR{r=16] should prolly change the closing bracket with a curly one

Unknowncommented

mm..targetconditions is worked on per entity which targeter sleected. so..still doesn't work

Sign in to join the discussion.