From 47a62753d1a395dd46a9b54dea3c9938b5b96c27 Mon Sep 17 00:00:00 2001 From: Nathan Curran <30569566+Focusvity@users.noreply.github.com> Date: Wed, 22 Jan 2020 14:37:51 +1100 Subject: [PATCH] Wow Seth, how did you not see this? (#185) --- .../java/me/totalfreedom/totalfreedommod/EntityWiper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/EntityWiper.java b/src/main/java/me/totalfreedom/totalfreedommod/EntityWiper.java index 5e70f9c3..1b89127a 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/EntityWiper.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/EntityWiper.java @@ -58,7 +58,7 @@ public class EntityWiper extends FreedomService { for (Entity entity : world.getEntities()) { - if (!BLACKLIST.contains(entity.getType()) && !Groups.MOB_TYPES.contains(entity.getType())) + if (!BLACKLIST.contains(entity.getType()) || !Groups.MOB_TYPES.contains(entity.getType())) { entity.remove(); removed++; @@ -67,4 +67,4 @@ public class EntityWiper extends FreedomService } return removed; } -} \ No newline at end of file +}