Read desc

Tried a little fix for sounds.
Hopefully made a fix for concurrent modification errors
Fixed typo in disguise player command
Added warning and disable if ProtocolLib isn't found
This commit is contained in:
Andrew
2013-05-30 02:25:00 +12:00
parent 0b605b0780
commit c78843aa2a
5 changed files with 19 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ public class DisguisePlayerCommand implements CommandExecutor {
} else
sender.sendMessage(ChatColor.RED + "You do not have permission to use this command.");
} else {
if (args.length == 1) {
if (args.length > 1) {
Player p = Bukkit.getPlayer(args[0]);
if (p != null) {
if (args[1].equalsIgnoreCase("undiguise") || args[1].equalsIgnoreCase("undis")