Skip to content

Commit

Permalink
Fix spawn chunk offset
Browse files Browse the repository at this point in the history
  • Loading branch information
irtimaled committed Apr 29, 2019
1 parent e92578b commit 116800c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public void render(BoundingBoxWorldSpawn boundingBox) {

double y = PlayerCoords.getMaxY(ConfigManager.worldSpawnMaxY.get()) + 0.001F;

renderUnfilledCuboid(new OffsetBox(minCoords.getX(), y, minCoords.getZ(), maxCoords.getX(), y, maxCoords.getZ()), color);
OffsetBox offsetBox = new OffsetBox(minCoords.getX() + 1, y, minCoords.getZ() + 1, maxCoords.getX() + 1, y, maxCoords.getZ() + 1);
renderUnfilledCuboid(offsetBox, color);
}
}

0 comments on commit 116800c

Please sign in to comment.