UserPerm #150
@ -54,7 +54,7 @@ public class SchematicCommand extends SWCommand {
|
|||||||
@Register(value = "togglepublic", noTabComplete = true)
|
@Register(value = "togglepublic", noTabComplete = true)
|
||||||
public void togglePublicMode(Player player) {
|
public void togglePublicMode(Player player) {
|
||||||
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||||
if (!user.getUserGroup().isAdminGroup()) {
|
if (!user.hasPerm(UserPerm.ADMINISTRATION)) {
|
||||||
genericHelp(player);
|
genericHelp(player);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren