This commit is contained in:
N0tMyFaultOG 2020-11-02 12:17:16 +01:00 committed by dordsor21
parent 5b11175cf3
commit 092690e9f0

View File

@ -138,7 +138,7 @@ public class Visit extends Command {
if (plot.isDenied(player.getUUID())) { if (plot.isDenied(player.getUUID())) {
if (!Permissions.hasPermission(player, Permission.PERMISSION_VISIT_DENIED)) { if (!Permissions.hasPermission(player, Permission.PERMISSION_VISIT_DENIED)) {
player.sendMessage(TranslatableCaption.of("permission.no_permission"), player.sendMessage(TranslatableCaption.of("permission.no_permission"),
Template.of("node", "plots.visit.denied")); Template.of("node", String.valueOf(Permission.PERMISSION_VISIT_DENIED)));
return; return;
} }
} }