Skip to content

Commit

Permalink
Ignore waterlogged air specifically (Temp fixes chunky-dev#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotStirred committed Mar 4, 2024
1 parent 7a26909 commit cb761b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chunky/src/java/se/llbit/chunky/renderer/scene/Scene.java
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,8 @@ public synchronized void loadChunks(TaskTracker taskTracker, World world, Collec
}
}

if(block.isWaterFilled()) {
// check if block is water filled, but exclude waterlogged air blocks. This is a temporary fix for #1692
if(block.isWaterFilled() && !(block instanceof Air)) {
int waterNode = palette.waterId;
if(y + 1 < yMax) {
if(palette.get(chunkData.getBlockAt(cx, y + 1, cz)).isWaterFilled()) {
Expand Down

0 comments on commit cb761b7

Please sign in to comment.