From 857c33978d19e9bc059605454e044e89dcb3790f Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Fri, 1 Sep 2023 14:54:32 +0200 Subject: [PATCH] Fix Moderation --- .../commands/schematiccommand/SchematicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6e005de..53f3ee5 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.hasPerm(UserPerm.ADMINISTRATION)) { + if (!user.hasPerm(UserPerm.MODERATION)) { genericHelp(player); return; }