From 7019682c8c0e0f957b32602cd38dac8756451856 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 20 Jun 2022 21:07:58 +0200 Subject: [PATCH] Fix build --- .../bausystem/features/simulator/SimulatorStorage.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorStorage.java b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorStorage.java index fcceecc6..3570a36f 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorStorage.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorStorage.java @@ -143,11 +143,7 @@ public class SimulatorStorage implements Enable, Disable { SteamwarUser steamwarUser = SteamwarUser.get(Integer.parseInt(name)); convert(file, steamwarUser); } catch (Exception e) { - try { - file.delete(); - } catch (IOException ex) { - // Ignore - } + file.delete(); } } else { String name = file.getName().substring(0, file.getName().length() - ".simulator".length());