From bd22287898844d4d89bd3628e4f3d8d17df3ee34 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 21 Sep 2020 23:34:26 +0200 Subject: [PATCH] Code Cleanup --- src/de/steamwar/bungeecore/sql/Schematic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/sql/Schematic.java b/src/de/steamwar/bungeecore/sql/Schematic.java index 2ae7e51..37243da 100644 --- a/src/de/steamwar/bungeecore/sql/Schematic.java +++ b/src/de/steamwar/bungeecore/sql/Schematic.java @@ -129,7 +129,7 @@ public class Schematic { ResultSet set = SQL.select("SELECT Item WHERE SchemID = ?", schemID); return set.getString("Item"); } catch (SQLException throwables) { - return "CAULDRON_ITEM"; + throw new SecurityException("Could not load Item"); } }