geforkt von Mirrors/FastAsyncWorldEdit
fix: fix #2352
Dieser Commit ist enthalten in:
Ursprung
0a19f643b6
Commit
a680c7ce97
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren