]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/commitdiff
Fix spawn chunk offset
authorIrtimaled <irtimaled@gmail.com>
Mon, 29 Apr 2019 04:39:25 +0000 (21:39 -0700)
committerIrtimaled <irtimaled@gmail.com>
Mon, 29 Apr 2019 04:39:25 +0000 (21:39 -0700)
src/main/java/com/irtimaled/bbor/client/renderers/WorldSpawnRenderer.java

index 3859c2b60ae1d25d7a912263a8974346e8339efc..9ff79dd777b763af6aee4025bd5fcca722c07c1d 100644 (file)
@@ -16,6 +16,7 @@ public class WorldSpawnRenderer extends AbstractRenderer<BoundingBoxWorldSpawn>
 
         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);
     }
 }