mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
Merge pull request #27 from ayunami2000/master
fix entitywipe not actually wiping entities
This commit is contained in:
commit
16186bdfbb
@ -54,7 +54,7 @@ public class EntityWipeCMD extends PlexCommand
|
|||||||
{
|
{
|
||||||
if (entity.getType() != EntityType.PLAYER)
|
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)))
|
if (useBlacklist ? entityBlacklist.stream().noneMatch(entityName -> entityName.equalsIgnoreCase(type)) : entityWhitelist.stream().anyMatch(entityName -> entityName.equalsIgnoreCase(type)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user