Fixes
This commit is contained in:
parent
d1830827cb
commit
7c842cf94a
2 changed files with 10 additions and 3 deletions
|
@ -183,12 +183,18 @@ public class BlocksHelper {
|
|||
setWithoutUpdate(world, POS, AIR);
|
||||
POS.setY(POS.getY() + 1);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else for (Direction dir: HORIZONTAL) {
|
||||
if (world.getBlockState(POS.offset(dir)).getMaterial().isReplaceable()) {
|
||||
BlockState st;
|
||||
for (Direction dir: HORIZONTAL) {
|
||||
if ((st = world.getBlockState(POS.offset(dir))).getMaterial().isReplaceable() && st.getFluidState().isEmpty()) {
|
||||
world.getFluidTickScheduler().schedule(POS, state.getFluidState().getFluid(), 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ((st = world.getBlockState(POS.up())).getMaterial().isReplaceable() && st.getFluidState().isEmpty()) {
|
||||
world.getFluidTickScheduler().schedule(POS, state.getFluidState().getFluid(), 0);
|
||||
}
|
||||
}
|
||||
// Falling blocks
|
||||
else if (state.getBlock() instanceof FallingBlock) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue