mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
SPIGOT-4572: Make default no permission message clearer
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d46a28e6ea
commit
1855bf0649
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue