Add support in web UI for automatic day/night cycle when night-and-day
set for a given map.
This commit is contained in:
parent
544283a650
commit
c00bd077cb
8 changed files with 64 additions and 6 deletions
|
|
@ -67,4 +67,14 @@ public class Client {
|
|||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
public static class DayNight extends Update {
|
||||
public String type = "daynight";
|
||||
public boolean isday;
|
||||
|
||||
public DayNight(boolean isday) {
|
||||
this.isday = isday;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue