mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-03-02 11:21:20 +01:00
Fix CFI visualization offset
This commit is contained in:
parent
c696b0260a
commit
83d6d0d1e0
@ -263,7 +263,7 @@ public class HeightMapMCAGenerator extends MCAWriter implements SimpleWorld, Faw
|
|||||||
this.player = player;
|
this.player = player;
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
FaweLocation pos = player.getLocation();
|
FaweLocation pos = player.getLocation();
|
||||||
this.chunkOffset = new Vector2D(pos.x >> 4, pos.z >> 4);
|
this.chunkOffset = new Vector2D(1 + (pos.x >> 4), 1 + (pos.z >> 4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user