mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
fix entitywipe not actually wiping entities
This commit is contained in:
parent
f78edc55d4
commit
aa9f306586
@ -54,7 +54,7 @@ public class EntityWipeCMD extends PlexCommand
|
||||
{
|
||||
if (entity.getType() != EntityType.PLAYER)
|
||||
{
|
||||
String type = entity.getName();
|
||||
String type = entity.getType().name();
|
||||
|
||||
if (useBlacklist ? entityBlacklist.stream().noneMatch(entityName -> entityName.equalsIgnoreCase(type)) : entityWhitelist.stream().anyMatch(entityName -> entityName.equalsIgnoreCase(type)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user