This commit is contained in:
paulevsGitch 2020-10-16 21:14:23 +03:00
parent e588237fd8
commit 4dd1c55924
2 changed files with 34 additions and 20 deletions

View file

@ -137,8 +137,13 @@ public class BlocksHelper {
for (int y = start.getY(); y <= end.getY(); y++) {
POS.setY(y);
state = world.getBlockState(POS);
// Liquids
if (!state.getFluidState().isEmpty()) {
continue;
}
// Falling blocks
if (state.getBlock() instanceof FallingBlock) {
else if (state.getBlock() instanceof FallingBlock) {
BlockState falling = state;
POS.setY(POS.getY() - 1);