mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Update permission in regards of https://github.com/IntellectualSites/PlotSquared/pull/2932
This commit is contained in:
parent
5b11175cf3
commit
092690e9f0
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user