Fixed another typo

This commit is contained in:
Andrew 2013-07-16 17:37:31 +12:00
parent bbd4ea4610
commit 472d114474

View File

@ -13,7 +13,7 @@ public class UndisguisePlayerCommand implements CommandExecutor {
@Override @Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (sender.hasPermission("libsdisguises.undisguiseothers")) { if (sender.hasPermission("libsdisguises.undisguiseplayer")) {
if (args.length > 0) { if (args.length > 0) {
Player p = Bukkit.getPlayer(args[0]); Player p = Bukkit.getPlayer(args[0]);
if (p != null) { if (p != null) {