From 4fb39e91ea038f360dfc371e40e90cd552805256 Mon Sep 17 00:00:00 2001 From: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com> Date: Wed, 10 Jul 2024 23:54:01 +0200 Subject: [PATCH] Fixed Security Hotspots --- .../plugily/projects/minigamesbox/classic/kits/KitRegistry.java | 1 - .../projects/minigamesbox/classic/user/data/MysqlManager.java | 1 - 2 files changed, 2 deletions(-) diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/kits/KitRegistry.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/kits/KitRegistry.java index 0e61f179..796a3687 100644 --- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/kits/KitRegistry.java +++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/kits/KitRegistry.java @@ -112,7 +112,6 @@ public void registerKits(List optionalConfigurations) { } } catch (Exception exception) { plugin.getDebugger().debug(Level.WARNING, "ERROR IN LOADING KITS"); - exception.printStackTrace(); } } diff --git a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/user/data/MysqlManager.java b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/user/data/MysqlManager.java index 720ed817..9025c4aa 100644 --- a/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/user/data/MysqlManager.java +++ b/MiniGamesBox Classic/src/main/java/plugily/projects/minigamesbox/classic/user/data/MysqlManager.java @@ -225,7 +225,6 @@ private void throwException(@NotNull SQLException exception) { plugin.getDebugger().debug(Level.WARNING, "SQLException occurred! Cause: {0} ({1})", exception.getSQLState(), exception.getErrorCode()); plugin.getMessageUtils().errorOccurred(); Bukkit.getConsoleSender().sendMessage("Check configuration of mysql.yml file or try to disable mysql option in config.yml"); - exception.printStackTrace(); } /**