This commit is contained in:
boy0001
2015-08-01 04:31:50 +10:00
parent 222e4faf8b
commit 9b5958da31
5 changed files with 78 additions and 77 deletions

View File

@ -259,6 +259,7 @@ public enum C {
*/
NO_SCHEMATIC_PERMISSION("$2You don't have the permission required to use schematic $1%s", "Permission"),
NO_PERMISSION("$2You are lacking the permission node: $1%s", "Permission"),
NO_PERMISSION_EVENT("$2You are lacking the permission node: $1%s", "Permission"),
NO_PLOT_PERMS("$2You must be the plot owner to perform this action", "Permission"),
CANT_CLAIM_MORE_PLOTS("$2You can't claim more plots.", "Permission"),
CANT_TRANSFER_MORE_PLOTS("$2You can't send more plots to that user", "Permission"),

View File

@ -68,7 +68,7 @@ public enum Permissions {
}
}
if (notify) {
MainUtil.sendMessage(player, C.NO_PERMISSION, perm);
MainUtil.sendMessage(player, C.NO_PERMISSION_EVENT, perm);
}
return false;
}