Build headstone further up if radius of 5 is blocked

This commit is contained in:
Sebastian Beckmann
2025-11-13 15:32:37 +01:00
parent 83983d6dd7
commit 7c4198bfff

View File

@@ -184,6 +184,12 @@ public class Headstone {
radius++; radius++;
} }
for (int y = playerY; y < 320; y++) {
Block block = this.location.getWorld().getBlockAt(playerX, y, playerZ);
if (block.getType().isEmpty())
return block;
}
return null; return null;
} }