SameFaction and Faction conditions doesn't work on players
Summary
I have already added Faction.Test for myself. I removed the OP for myself during testing.
When Faction or SameFaction conditions check players, these conditions always return "false". If I have modify this mob's AITargetSelectors(used clear and nearestconditionaltarget), this mob still attack me. Even if I'm in the same faction
Steps to reproduce
Just Mob File: https://pastebin.com/xPhPd6ws No issues spams on the console.
Current behavior
I want to make mobs only attack players from other faction,But here is no AITargetSelector named "OtherFactionPlayer",So I used "NearestConditionalTarget". But..SameFaction and Faction conditions doesn't work on players.So I cannot do what I want. If this mob used "OtherFaction" instead of "NearestConditionalTarget",This mob won't attack me
Intended correct behavior
This mob couldn't attack me, because im in the same faction..
Server log file
No issue spawms on the console
Debug log snippet
When I enabled Debug mode(level 6),There is nothing spams on the console.
Proposed fixes
I guess it is because..these conditions called an empty function when they are checking players.