comment out useless teleporting

not necessary lol
This commit is contained in:
ayunami2000 2022-04-06 20:16:16 -04:00
parent 1d8ce6001c
commit 2105f51b44
2 changed files with 4 additions and 0 deletions

View File

@ -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))) if (useBlacklist ? entityBlacklist.stream().noneMatch(entityName -> entityName.equalsIgnoreCase(type)) : entityWhitelist.stream().anyMatch(entityName -> entityName.equalsIgnoreCase(type)))
{ {
/*
Location loc = entity.getLocation(); Location loc = entity.getLocation();
loc.setY(-500); loc.setY(-500);
entity.teleportAsync(loc); entity.teleportAsync(loc);
*/
entity.remove(); entity.remove();
entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1); entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1);

View File

@ -34,10 +34,12 @@ public class MobPurgeCMD extends PlexCommand
{ {
String type = entity.getType().name(); String type = entity.getType().name();
/*
Location loc = entity.getLocation(); Location loc = entity.getLocation();
loc.setY(-500); loc.setY(-500);
entity.teleportAsync(loc); entity.teleportAsync(loc);
entity.remove(); entity.remove();
*/
entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1); entityCounts.put(type,entityCounts.getOrDefault(type, 0) + 1);
} }