mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Wow Seth, how did you not see this? (#185)
This commit is contained in:
parent
608791d918
commit
47a62753d1
@ -58,7 +58,7 @@ public class EntityWiper extends FreedomService
|
|||||||
{
|
{
|
||||||
for (Entity entity : world.getEntities())
|
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();
|
entity.remove();
|
||||||
removed++;
|
removed++;
|
||||||
@ -67,4 +67,4 @@ public class EntityWiper extends FreedomService
|
|||||||
}
|
}
|
||||||
return removed;
|
return removed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user