diff --git a/src/main/java/dev/plex/command/impl/EntityWipeCMD.java b/src/main/java/dev/plex/command/impl/EntityWipeCMD.java index c49b687..653bd81 100644 --- a/src/main/java/dev/plex/command/impl/EntityWipeCMD.java +++ b/src/main/java/dev/plex/command/impl/EntityWipeCMD.java @@ -57,9 +57,11 @@ public class EntityWipeCMD extends PlexCommand if (useBlacklist ? entityBlacklist.stream().noneMatch(entityName -> entityName.equalsIgnoreCase(type)) : entityWhitelist.stream().anyMatch(entityName -> entityName.equalsIgnoreCase(type))) { + /* Location loc = entity.getLocation(); loc.setY(-500); entity.teleportAsync(loc); + */ entity.remove(); entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1); diff --git a/src/main/java/dev/plex/command/impl/MobPurgeCMD.java b/src/main/java/dev/plex/command/impl/MobPurgeCMD.java index c20c629..5078052 100644 --- a/src/main/java/dev/plex/command/impl/MobPurgeCMD.java +++ b/src/main/java/dev/plex/command/impl/MobPurgeCMD.java @@ -34,10 +34,12 @@ public class MobPurgeCMD extends PlexCommand { String type = entity.getType().name(); + /* Location loc = entity.getLocation(); loc.setY(-500); entity.teleportAsync(loc); entity.remove(); + */ entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1); }