Skip to content

Commit

Permalink
Fixes missing onRemove call to base class in miner.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnuecke committed Aug 17, 2023
1 parent 262d953 commit f8af9df
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ public void onRemove(final BlockState oldState, final Level level, final BlockPo
Containers.dropItemStack(level, pos.getX(), pos.getY(), pos.getZ(), itemHandler.getStackInSlot(slot));
}
});
} else {
super.onRemove(oldState, level, pos, newState, movedByPiston);
}
super.onRemove(oldState, level, pos, newState, movedByPiston);
}

@Override
Expand Down

0 comments on commit f8af9df

Please sign in to comment.