mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 09:37: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)))
|
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);
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user