|
|
@ -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(); |
|
|
|