Fix for daily timers. Minor family fixes. Server code to change guild leader. (#513)
This commit is contained in:
@@ -535,7 +535,7 @@ public class Server {
|
||||
public static long getTimeLeftForNextDay() {
|
||||
Calendar nextDay = Calendar.getInstance();
|
||||
nextDay.add(Calendar.DAY_OF_MONTH, 1);
|
||||
nextDay.set(Calendar.HOUR, 0);
|
||||
nextDay.set(Calendar.HOUR_OF_DAY, 0);
|
||||
nextDay.set(Calendar.MINUTE, 0);
|
||||
nextDay.set(Calendar.SECOND, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user