From 4d21fc03530a6a813831f6212014707a28417f8f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 14 Mar 2024 20:56:34 -0500 Subject: [PATCH] daily reboot removal --- src/engine/server/world/WorldServer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index 49ce5e30..84193fbb 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -210,15 +210,6 @@ public class WorldServer { this.isRunning = true; while (true) { - if(LocalDateTime.now().getHour() == 2 && LocalDateTime.now().getMinute() == 0){ - //daily reboot - try { - Runtime rt = Runtime.getRuntime(); - rt.exec("./mbrestart.sh"); - } catch (java.io.IOException err) { - Logger.info(err.getMessage()); - } - } if (LocalDateTime.now().isAfter(nextHeartbeatTime)) { SERVERHEARTBEAT.tick();