mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 02:55:45 +01:00
Fix inverted condition in lookclose
This commit is contained in:
parent
c7789e5073
commit
011e58c739
@ -58,7 +58,7 @@ public class LookClose extends Trait implements Toggleable, CommandConfigurable
|
||||
return false;
|
||||
return realisticLooking && npc.getEntity() instanceof LivingEntity
|
||||
? ((LivingEntity) npc.getEntity()).hasLineOfSight(player)
|
||||
: false;
|
||||
: true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user