Remove redundant call to playerWillDestroy

Somewhere between 1.20.1 and 1.21.1 it looks like this call is no longer
required.

Fixes #2531.
This commit is contained in:
Jonathan Coates committed 2026-11-13 11:07:40 +00:00
1 parent cc592a6236
commit c71d486a66
1 file changed
-1
@@ -96,7 +96,6 @@ public class CableBlock extends Block implements SimpleWaterloggedBlock, EntityB
@ForgeOverride
public boolean onDestroyedByPlayer(BlockState state, Level world, BlockPos pos, Player player, boolean willHarvest, FluidState fluid) {
playerWillDestroy(world, pos, state, player);
if (onCustomDestroyBlock(state, world, pos, player)) {
return false;
}