From 4fa7437b279e5d28168d0f3730d5b2f964ca2ccf Mon Sep 17 00:00:00 2001 From: Chaos Date: Thu, 3 Feb 2022 22:02:56 +0100 Subject: [PATCH] Yes --- src/de/steamwar/bungeecore/commands/CheckCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/CheckCommand.java b/src/de/steamwar/bungeecore/commands/CheckCommand.java index ba662c03..a74dc788 100644 --- a/src/de/steamwar/bungeecore/commands/CheckCommand.java +++ b/src/de/steamwar/bungeecore/commands/CheckCommand.java @@ -301,7 +301,6 @@ public class CheckCommand extends BasicCommand { } private void decline(String reason){ - schematic.setType(SchematicType.Normal.toDB()); CheckedSchematic.create(schematic, SteamwarUser.get(checker.getUniqueId()).getId(), startTime, Timestamp.from(Instant.now()), reason); SteamwarUser user = SteamwarUser.get(schematic.getOwner()); ProxiedPlayer player = ProxyServer.getInstance().getPlayer(user.getUuid()); @@ -311,6 +310,7 @@ public class CheckCommand extends BasicCommand { DiscordSchemAlert.sendDecline(schematic, user, reason); } Message.team("CHECK_DECLINED_TEAM", schematic.getName(), user.getUserName(), reason); + schematic.setType(SchematicType.Normal.toDB()); stop(); }