mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 19:50:42 +00:00
fix entitywipe not actually wiping entities
This commit is contained in:
parent
f78edc55d4
commit
aa9f306586
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue