[Bug] SpecificFaction AITargetSelector attacking players regardless of Permission
Summary
My goal is for "Castle_Defender_Smart" mob to attack players on the faction/team of "Pirates" and to not attack friendly faction players "CastleDefenders"
I've been following along with the Wiki: https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Mobs/Factions and it mentions "Note on Players: By default, MythicMobs uses a permission system for players to be considered part of a faction. If a player has the permission faction.(factionname), they will be considered in the faction." I am using Luck Perms and have assigned faction.Pirates as a default permission. (see attached) On a MythicMob, I have set AITargetSelectors to include OtherFaction which the wiki states includes any other entities that are not the caster's faction as a target. (see attached 2) I've tried setting a specific faction or giving the player selector a condition but to no avail. (setting the target selector to players attacks all players) The server is recognizing changes from Mythic Mobs since I do a /mm reload and am able to get changes.
Also seen on the Mythic Mobs discord: https://discord.com/channels/213109157983813633/1200997355357491310 This post includes images.
Steps to reproduce
Pastebin is down. YML mobs file: Castle_Defenders.yml
Current behavior
Bug: The "Pirate_Raider_Smart" mob attacks a player with the "faction.pirates" permission regardless of the AITargetSelectors: - specificfaction{f=CastleDefenders}
Intended correct behavior
I believe the mob should only attack the player is they have "faction.castledefenders" permission but not attack "faction.pirates" permission.
Server log file
Pastebin is down. Latest Log: latest.log
Proposed fixes
Unsure of what the Issue here is.