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

@ -136,6 +136,8 @@ worlds:
colorscheme: default
# Add shadows to world (based on top-down shadows from chunk data)
# shadowstrength: 1.0
# Sets the icon to 'images/block_custom.png'
# icon: custom
#- class: org.dynmap.kzedmap.HighlightTileRenderer
# prefix: ht
# maximumheight: 127

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);
}