Wow Seth, how did you not see this? (#185)

This commit is contained in:
Nathan Curran 2020-01-22 14:37:51 +11:00 committed by Robinson Gallego
parent 608791d918
commit 47a62753d1

View File

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