just stupid shit

This commit is contained in:
Super_
2019-12-23 23:21:52 -05:00
parent 1bc06f2c1d
commit 855c01a46b
3 changed files with 19 additions and 6 deletions

View File

@ -23,8 +23,11 @@ public class Command_entitywipe extends FreedomCommand
{
for (Entity entity : world.getEntities())
{
entity.remove();
removed++;
if (!(entity instanceof Player))
{
entity.remove();
removed++;
}
}
}
msg(removed + " entities removed.");