Browse Source

daily reboot

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
4d28cd2b25
  1. 2
      src/engine/server/world/WorldServer.java

2
src/engine/server/world/WorldServer.java

@ -210,7 +210,7 @@ public class WorldServer {
this.isRunning = true; this.isRunning = true;
while (true) { while (true) {
if(LocalDateTime.now().getHour() == 21 && LocalDateTime.now().getMinute() == 55){ if(LocalDateTime.now().getHour() == 2 && LocalDateTime.now().getMinute() == 0){
//daily reboot //daily reboot
try { try {
Runtime rt = Runtime.getRuntime(); Runtime rt = Runtime.getRuntime();

Loading…
Cancel
Save