Add support for saving/restoring of pending tile updates on server stops/start
This commit is contained in:
parent
0627e2675f
commit
1548ae72d6
9 changed files with 173 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import java.util.List;
|
|||
import org.dynmap.DynmapChunk;
|
||||
import org.dynmap.DynmapWorld;
|
||||
import org.dynmap.MapTile;
|
||||
import org.dynmap.MapType;
|
||||
import org.dynmap.utils.MapChunkCache;
|
||||
|
||||
public class KzedZoomedMapTile extends MapTile {
|
||||
|
|
@ -41,6 +42,11 @@ public class KzedZoomedMapTile extends MapTile {
|
|||
super(world);
|
||||
this.originalTile = original;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String saveTileData() {
|
||||
return originalTile.saveTileData();
|
||||
}
|
||||
|
||||
public int getTileX() {
|
||||
return ztilex(originalTile.px + KzedMap.tileWidth);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue