From 7ce2cb159590fdf1ab26b8889153acaa4d456f12 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 11 Jan 2023 22:50:36 +0100 Subject: [PATCH] Fix SkinCommand Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/features/team/SkinCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/team/SkinCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/team/SkinCommand.java index 695f5421..7ce49b96 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/team/SkinCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/team/SkinCommand.java @@ -66,7 +66,7 @@ public class SkinCommand extends SWCommand { SteamwarUser steamwarUser = SteamwarUser.get(p.getUniqueId()); UserGroup userGroup = steamwarUser.getUserGroup(); - if (!userGroup.isAdminGroup() && steamwarUser.getId() != 571) { + if (!userGroup.isAdminGroup()) { return; } Region region = Region.getRegion(p.getLocation()); @@ -115,7 +115,7 @@ public class SkinCommand extends SWCommand { SteamwarUser steamwarUser = SteamwarUser.get(p.getUniqueId()); UserGroup userGroup = steamwarUser.getUserGroup(); - if (!userGroup.isAdminGroup() && steamwarUser.getId() != 571) { + if (!userGroup.isAdminGroup()) { return; } if (BoundaryViewer.viewers.contains(p)) {