Build headstone further up if radius of 5 is blocked
This commit is contained in:
@@ -184,6 +184,12 @@ public class Headstone {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user