From a680c7ce97321da0fbb3afd13cf69684a8544e52 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 13 Jul 2023 17:08:18 +0100 Subject: [PATCH] fix: fix #2352 --- .../sk89q/worldedit/extension/platform/AbstractPlayerActor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java index d02819dc6..6adf7236c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java @@ -709,7 +709,7 @@ public abstract class AbstractPlayerActor implements Actor, Player, Cloneable { @Override public void checkPermission(String permission) throws AuthorizationException { if (!hasPermission(permission)) { - throw new AuthorizationException(); + throw new AuthorizationException(Caption.of("fawe.error.no-perm", permission)); } }