From e979398a87247397840fbf0cace60dbf9c9dc1d4 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 27 Feb 2021 21:03:02 +0100 Subject: [PATCH] Remove commented out code from FileRecorder --- .../src/de/steamwar/fightsystem/FightSystem.java | 1 - .../src/de/steamwar/fightsystem/record/FileRecorder.java | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java b/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java index 34b9383..0cf770b 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/FightSystem.java @@ -154,7 +154,6 @@ public class FightSystem extends JavaPlugin { @Override public void onDisable() { - Recorder.closeAll(); } diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/record/FileRecorder.java b/FightSystem_Main/src/de/steamwar/fightsystem/record/FileRecorder.java index 8772e91..42aabd1 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/record/FileRecorder.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/record/FileRecorder.java @@ -124,12 +124,7 @@ public class FileRecorder extends Recorder { @Override protected void doFlush() { - /*try { - outputStream.flush(); - } catch (IOException e) { - Bukkit.getLogger().log(Level.SEVERE, "Could not flush", e); - close(); - }*/ + } @Override