Added map-icon to configuration.

This commit is contained in:
FrozenCow 2011-05-22 17:45:30 +02:00
parent fea84a45b2
commit d5c19703f6
3 changed files with 4 additions and 0 deletions

View file

@ -220,6 +220,7 @@ public class FlatMap extends MapType {
s(o, "type", "FlatMapType");
s(o, "name", c.getString("name"));
s(o, "title", c.getString("title"));
s(o, "icon", c.getString("icon"));
s(o, "prefix", c.getString("prefix"));
a(worldObject, "maps", o);
}

View file

@ -372,6 +372,7 @@ public class DefaultTileRenderer implements MapTileRenderer {
s(o, "type", "KzedMapType");
s(o, "name", c.getString("name"));
s(o, "title", c.getString("title"));
s(o, "icon", c.getString("icon"));
s(o, "prefix", c.getString("prefix"));
a(worldObject, "maps", o);
}