From 092690e9f00ae3543c2468c844de12d692cfe33f Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Mon, 2 Nov 2020 12:17:16 +0100 Subject: [PATCH] Update permission in regards of https://github.com/IntellectualSites/PlotSquared/pull/2932 --- Core/src/main/java/com/plotsquared/core/command/Visit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Visit.java b/Core/src/main/java/com/plotsquared/core/command/Visit.java index 031cb5fc9..a490ea472 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Visit.java +++ b/Core/src/main/java/com/plotsquared/core/command/Visit.java @@ -138,7 +138,7 @@ public class Visit extends Command { if (plot.isDenied(player.getUUID())) { if (!Permissions.hasPermission(player, Permission.PERMISSION_VISIT_DENIED)) { player.sendMessage(TranslatableCaption.of("permission.no_permission"), - Template.of("node", "plots.visit.denied")); + Template.of("node", String.valueOf(Permission.PERMISSION_VISIT_DENIED))); return; } }