SPIGOT-4572: Make default no permission message clearer

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-01-14 10:07:31 +11:00
parent d46a28e6ea
commit 1855bf0649

View file

@ -178,7 +178,7 @@ public abstract class Command {
}
if (permissionMessage == null) {
target.sendMessage(ChatColor.RED + "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error.");
target.sendMessage(ChatColor.RED + "I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is a mistake.");
} else if (permissionMessage.length() != 0) {
for (String line : permissionMessage.replace("<permission>", permission).split("\n")) {
target.sendMessage(line);