From 2105f51b44a128c1ef4ab02ad25e682763c0ccfe Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Wed, 6 Apr 2022 20:16:16 -0400 Subject: [PATCH] comment out useless teleporting not necessary lol --- src/main/java/dev/plex/command/impl/EntityWipeCMD.java | 2 ++ src/main/java/dev/plex/command/impl/MobPurgeCMD.java | 2 ++ 2 files changed, 4 insertions(+) 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); }