mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-24 10:11:24 +01:00
Fix condition negation
This commit is contained in:
parent
79eab9135b
commit
82bdbe31c1
@ -130,7 +130,7 @@ public class Poses extends Trait {
|
||||
if (!hasPose(defaultPose))
|
||||
return;
|
||||
if (!npc.getNavigator().isNavigating()
|
||||
&& (!npc.hasTrait(LookClose.class) || npc.getTrait(LookClose.class).canSeeTarget())) {
|
||||
&& (!npc.hasTrait(LookClose.class) || !npc.getTrait(LookClose.class).canSeeTarget())) {
|
||||
assumePose(defaultPose);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user