Fix is patrol logic bloc conditional.

This commit is contained in:
2023-08-27 23:55:02 -04:00
parent 08d0e5ff75
commit 8af989b75f
+2 -1
View File
@@ -1734,7 +1734,8 @@ public class Mob extends AbstractIntelligenceAgent {
//assign 5 random patrol points for regular mobs
if (!(this.agentType.equals(AIAgentType.GUARD)) && !this.isPlayerGuard() && !this.isPet() && !this.isNecroPet() && !(this.agentType.equals(AIAgentType.PET)) && !(this.agentType.equals(AIAgentType.CHARMED))) {
if (this.guardCaptain == null && this.isPlayerGuard == false && !isPet() == false && isNecroPet() == false) {
this.patrolPoints = new ArrayList<>();
for (int i = 0; i < 5; ++i) {