From 9a4a36aeb9e6009ccbe714475111fd764a5c1e23 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 22 Dec 2019 16:56:18 +0100 Subject: [PATCH] Refactoring error (useless commit for starting dev server) Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/kit/KitManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/kit/KitManager.java b/FightSystem_Main/src/de/steamwar/fightsystem/kit/KitManager.java index ef1acf1..e6a05e5 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/kit/KitManager.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/kit/KitManager.java @@ -71,7 +71,7 @@ public class KitManager { try { yamlConfiguration.save(kits); }catch(IOException e){ - Bukkit.getLogger().log(Level.SEVERE, "Failed to save kits.data", e); + throw new SecurityException("Failed to save kits.data", e); } }