Fix inverted condition in lookclose

This commit is contained in:
fullwall 2021-04-07 14:26:07 +08:00
parent c7789e5073
commit 011e58c739

View File

@ -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;
}
/**