From fadc8bd3da1e2543b4195b71b5249df221147c98 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 2 May 2021 20:56:39 +0200 Subject: [PATCH] Remove AutoShutdownListener 2 Minute --- .../bausystem/features/world/AutoShutdownListener.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/world/AutoShutdownListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/world/AutoShutdownListener.java index 8ca28941..4e5d62e1 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/world/AutoShutdownListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/world/AutoShutdownListener.java @@ -68,10 +68,6 @@ public class AutoShutdownListener implements Listener { Bukkit.shutdown(); return; } - count++; - if (count <= 120) { - return; - } try { if (RamUsage.getUsage() > 0.8) { Bukkit.shutdown();