This commit is contained in:
dordsor21 2023-07-13 17:08:18 +01:00
parent 0a19f643b6
commit a680c7ce97
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -709,7 +709,7 @@ public abstract class AbstractPlayerActor implements Actor, Player, Cloneable {
@Override @Override
public void checkPermission(String permission) throws AuthorizationException { public void checkPermission(String permission) throws AuthorizationException {
if (!hasPermission(permission)) { if (!hasPermission(permission)) {
throw new AuthorizationException(); throw new AuthorizationException(Caption.of("fawe.error.no-perm", permission));
} }
} }