Fix CFI visualization offset

This commit is contained in:
Jesse Boyd 2018-03-15 17:03:51 +11:00
parent c696b0260a
commit 83d6d0d1e0
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -263,7 +263,7 @@ public class HeightMapMCAGenerator extends MCAWriter implements SimpleWorld, Faw
this.player = player;
if (player != null) {
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));
}
}