From 7a232d5d51d04c767a9853afd4387781a9af9c15 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 26 Oct 2025 16:41:21 +0100 Subject: [PATCH] Add ignore for SteamWar team --- .../src/de/steamwar/velocitycore/commands/CheckCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VelocityCore/src/de/steamwar/velocitycore/commands/CheckCommand.java b/VelocityCore/src/de/steamwar/velocitycore/commands/CheckCommand.java index 2effbdcf..b9c3092e 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/commands/CheckCommand.java +++ b/VelocityCore/src/de/steamwar/velocitycore/commands/CheckCommand.java @@ -133,7 +133,8 @@ public class CheckCommand extends SWCommand { } int playerTeam = sender.user().hasPerm(UserPerm.MODERATION) ? 0 : sender.user().getTeam(); - if (playerTeam != 0 && SteamwarUser.get(schem.getOwner()).getTeam() == playerTeam) { + // Ignore 795 SteamWar Team + if (playerTeam != 0 && playerTeam != 795 && SteamwarUser.get(schem.getOwner()).getTeam() == playerTeam) { sender.system("CHECK_SCHEMATIC_OWN_TEAM"); return; }