entity hider: fix hide pets

The check for this got accidentally inverted when moving it out of the mixins
This commit is contained in:
Adam
2022-06-10 22:57:30 -04:00
parent 5384163164
commit db0e56194e

View File

@@ -182,7 +182,7 @@ public class EntityHiderPlugin extends Plugin
{ {
NPC npc = (NPC) renderable; NPC npc = (NPC) renderable;
if (npc.getComposition().isFollower() && npc == client.getFollower()) if (npc.getComposition().isFollower() && npc != client.getFollower())
{ {
return !hidePets; return !hidePets;
} }