diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java index 2326777..6e005de 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand.java @@ -54,7 +54,7 @@ public class SchematicCommand extends SWCommand { @Register(value = "togglepublic", noTabComplete = true) public void togglePublicMode(Player player) { SteamwarUser user = SteamwarUser.get(player.getUniqueId()); - if (!user.getUserGroup().isAdminGroup()) { + if (!user.hasPerm(UserPerm.ADMINISTRATION)) { genericHelp(player); return; }