Add support in web UI for automatic day/night cycle when night-and-day

set for a given map.
This commit is contained in:
Mike Primm 2011-05-29 17:24:46 -05:00
parent 544283a650
commit c00bd077cb
8 changed files with 64 additions and 6 deletions

View file

@ -292,6 +292,7 @@ public class FlatMap extends MapType {
s(o, "title", c.getString("title"));
s(o, "icon", c.getString("icon"));
s(o, "prefix", c.getString("prefix"));
s(o, "nightandday", c.getBoolean("night-and-day",false));
a(worldObject, "maps", o);
}
}