From aa4058d5f910b2562597318330ca9a1369fd7975 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 3 Apr 2021 08:39:56 +0200 Subject: [PATCH] Hotfix BauSystem RamUsage and AutoShutdown --- BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index f0c5107..2fa43b8 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -161,11 +161,13 @@ public class BauSystem extends JavaPlugin implements Listener { if (autoShutdown != null) { autoShutdown.cancel(); } + System.out.println("INIT AutoShutdown"); autoShutdown = Bukkit.getScheduler().runTaskTimer(this, new Runnable() { int count = 0; @Override public void run() { + System.out.println("RUN AutoShutdown " + count); if (count >= 300) { Bukkit.shutdown(); return;