mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
BlockStateDeserializerHelper: fixed mistake in decodeLiquid()
This commit is contained in:
parent
03e3ecdbd3
commit
c4228edf3c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user