Changed "Can't use command" to follow one message

This commit is contained in:
libraryaddict 2014-06-02 03:52:54 +12:00
parent 6ac7106df7
commit 3426e0adb6
5 changed files with 5 additions and 5 deletions

View file

@ -195,7 +195,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
}
}
}
sender.sendMessage(ChatColor.RED + "You are forbidden from using this command!");
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");
return true;
}

View file

@ -26,7 +26,7 @@ public class UndisguiseCommand implements CommandExecutor {
} else
sender.sendMessage(ChatColor.RED + "You are not disguised!");
} else
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command!");
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");
return true;
}
}

View file

@ -29,7 +29,7 @@ public class UndisguisePlayerCommand implements CommandExecutor {
} else
sender.sendMessage(ChatColor.RED + "/undisguiseplayer <Name>");
} else
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command!");
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");
return true;
}
}

View file

@ -59,7 +59,7 @@ public class UndisguiseRadiusCommand implements CommandExecutor {
}
sender.sendMessage(ChatColor.RED + "Successfully undisguised " + disguisedEntitys + " entities!");
} else
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command!");
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");
return true;
}
}

View file

@ -185,7 +185,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
+ " doesn't exist!");
}
if (!allowedDisguises.contains(disguiseType.name().toLowerCase())) {
throw new Exception(ChatColor.RED + "You are forbidden to use this disguise!");
throw new Exception(ChatColor.RED + "You are forbidden to use this disguise.");
}
ArrayList<String> usedOptions = new ArrayList<String>();
Disguise disguise = null;