mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
comment out useless teleporting
not necessary lol
This commit is contained in:
parent
1d8ce6001c
commit
2105f51b44
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user