mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-01 15:46:42 +00:00
Merge branch 'master' of https://github.com/plexusorg/plex into taah-cmd-blocker
Conflicts: src/main/java/dev/plex/command/blocker/CommandBlockerManager.java src/main/java/dev/plex/listener/impl/CommandListener.java src/main/resources/commands.yml
This commit is contained in:
@ -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)))
|
||||
{
|
||||
@ -99,7 +99,7 @@ public class EntityWipeCMD extends PlexCommand
|
||||
{
|
||||
if (entity.getType() != EntityType.PLAYER)
|
||||
{
|
||||
entities.add(entity.getName());
|
||||
entities.add(entity.getType().name());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user