Merge pull request #166 from KAMKEEL/codex/fix-faction-passive-and-mob-attack-issue

Fix passive faction toggle bug
This commit is contained in:
Kam authored and GitHub committed 2025-06-30 22:02:56 -04:00
commit c1da5c080f
1 file changed
+1 -1
@@ -132,7 +132,7 @@ public class GuiNPCManageFactions extends GuiNPCInterface2 implements IScrollDat
if (button.id == 4) {
faction.getsAttacked = button.getValue() == 1;
}
if (button.id == 4) {
if (button.id == 5) {
faction.isPassive = button.getValue() == 1;
}
if (button.id == 10) {