BlockStateDeserializerHelper: fixed mistake in decodeLiquid()

This commit is contained in:
Dylan K. Taylor
2022-01-31 18:15:02 +00:00
parent 03e3ecdbd3
commit c4228edf3c

View File

@ -115,7 +115,7 @@ final class BlockStateDeserializerHelper{
$fluidHeightState = $in->readBoundedInt(BlockStateNames::LIQUID_DEPTH, 0, 15);
return $block
->setDecay($fluidHeightState & 0x7)
->setFalling(($fluidHeightState & 0x1) !== 0)
->setFalling(($fluidHeightState & 0x8) !== 0)
->setStill($still);
}