Add support for single map render via /dynmap fullrender world:map, /dynmap radiusrender radius mapname

This commit is contained in:
Mike Primm 2011-08-13 11:47:11 +08:00 committed by mikeprimm
parent b800984e3f
commit 4316e1f3e4
11 changed files with 60 additions and 29 deletions

View file

@ -495,7 +495,7 @@ public class FlatMap extends MapType {
}
@Override
public boolean render(MapChunkCache cache) {
public boolean render(MapChunkCache cache, String mapname) {
return map.render(cache, this, MapManager.mapman.getTileFile(this));
}