diff --git a/src/main/java/me/lrxh/practice/essentials/Essentials.java b/src/main/java/me/lrxh/practice/essentials/Essentials.java index ac6188b..7c0f9ea 100644 --- a/src/main/java/me/lrxh/practice/essentials/Essentials.java +++ b/src/main/java/me/lrxh/practice/essentials/Essentials.java @@ -50,17 +50,13 @@ public void teleportToSpawn(Player player) { } public void clearEntities(World world) { - int removed = 0; - for (Entity entity : world.getEntities()) { if (!(entity.getType() == EntityType.PLAYER)) { continue; } - removed++; entity.remove(); } - } public int clearEntities(World world, EntityType... excluded) {