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 +}