From ddf3650675d08806a5bb3085eebe083cd5a6346e Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 16 Jul 2013 17:36:06 +1200 Subject: [PATCH] Fixed perm typo --- .../disguise/Commands/DisguisePlayerCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/me/libraryaddict/disguise/Commands/DisguisePlayerCommand.java b/src/me/libraryaddict/disguise/Commands/DisguisePlayerCommand.java index dae7ed6d..d7bd980e 100644 --- a/src/me/libraryaddict/disguise/Commands/DisguisePlayerCommand.java +++ b/src/me/libraryaddict/disguise/Commands/DisguisePlayerCommand.java @@ -24,7 +24,7 @@ public class DisguisePlayerCommand implements CommandExecutor { ArrayList names = new ArrayList(); for (DisguiseType type : DisguiseType.values()) { String name = type.name().toLowerCase(); - if (sender.hasPermission("libsdisguises.disguiseentity." + name)) + if (sender.hasPermission("libsdisguises.disguiseplayer." + name)) names.add(name); } Collections.sort(names, String.CASE_INSENSITIVE_ORDER); @@ -35,7 +35,7 @@ public class DisguisePlayerCommand implements CommandExecutor { ArrayList names = new ArrayList(); for (DisguiseType type : DisguiseType.values()) { String name = type.name().toLowerCase(); - if (!sender.hasPermission("libsdisguises.disguiseentity." + name)) + if (!sender.hasPermission("libsdisguises.disguiseplayer." + name)) names.add(name); } Collections.sort(names, String.CASE_INSENSITIVE_ORDER);