mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 19:02:58 +00:00
Fixed concurrent modification bug with NPC tasks.
This commit is contained in:
1 parent
7de585843d
commit
1af875aea9
3 files changed
+8
-3
No files matched your search
@@ -141,7 +141,7 @@ public class GuiNpcAI extends GuiNPCInterface2 implements ITextfieldListener, IG
|
||||
}
|
||||
else if (button.id == 17) {
|
||||
ai.tacticalVariant = EnumNavType.values()[button.getValue()];
|
||||
ai.directLOS = EnumNavType.values()[button.getValue()] == EnumNavType.Stalk ? false : this.ai.directLOS;
|
||||
ai.directLOS = EnumNavType.values()[button.getValue()] != EnumNavType.Stalk && this.ai.directLOS;
|
||||
initGui();
|
||||
}
|
||||
else if (button.id == 22) {
|
||||
|
||||
Reference in new issue
Block a user