fix entitywipe not actually wiping entities

This commit is contained in:
ayunami2000 2022-04-10 17:56:15 -04:00
parent f78edc55d4
commit aa9f306586

View File

@ -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)))
{