diff --git a/core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java b/core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java index 34be77fc..feb6b419 100644 --- a/core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java +++ b/core/src/main/java/com/boydti/fawe/jnbt/anvil/MCAChunk.java @@ -278,9 +278,9 @@ public class MCAChunk extends FaweChunk { short pair = MathMan.tripleBlockCoord(x, y, z); CompoundTag tag = entry.getValue(); Map map = ReflectionUtils.getMap(tag.getValue()); - map.put("x", new IntTag(x + (getX() << 4))); + map.put("x", new IntTag((x & 15) + (getX() << 4))); map.put("y", new IntTag(y)); - map.put("z", new IntTag(z + (getZ() << 4))); + map.put("z", new IntTag((z & 15) + (getZ() << 4))); tiles.put(pair, tag); } }