diff --git a/configuration.txt b/configuration.txt index 64f8cf44..702ccfce 100644 --- a/configuration.txt +++ b/configuration.txt @@ -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 diff --git a/src/main/java/org/dynmap/flat/FlatMap.java b/src/main/java/org/dynmap/flat/FlatMap.java index c36815a4..0bc5877f 100644 --- a/src/main/java/org/dynmap/flat/FlatMap.java +++ b/src/main/java/org/dynmap/flat/FlatMap.java @@ -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); } diff --git a/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java b/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java index a98b8d22..1d3c00a5 100644 --- a/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java +++ b/src/main/java/org/dynmap/kzedmap/DefaultTileRenderer.java @@ -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); }