mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-02 16:49:56 +01:00
Fixed incorrect offset when using maximumheight.
This commit is contained in:
parent
686331d1a5
commit
ff36e4f87a
@ -39,9 +39,9 @@ public class DefaultTileRenderer implements MapTileRenderer {
|
|||||||
WritableRaster r = im.getRaster();
|
WritableRaster r = im.getRaster();
|
||||||
boolean isempty = true;
|
boolean isempty = true;
|
||||||
|
|
||||||
int ix = KzedMap.anchorx + tile.px / 2 + tile.py / 2 - (maximumHeight/2);
|
int ix = KzedMap.anchorx + tile.px / 2 + tile.py / 2 - ((127-maximumHeight)/2);
|
||||||
int iy = maximumHeight;
|
int iy = maximumHeight;
|
||||||
int iz = KzedMap.anchorz + tile.px / 2 - tile.py / 2 + (maximumHeight/2);
|
int iz = KzedMap.anchorz + tile.px / 2 - tile.py / 2 + ((127-maximumHeight)/2);
|
||||||
|
|
||||||
int jx, jz;
|
int jx, jz;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user