Skip to content

Commit

Permalink
fixed dupe bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Dec 27, 2023
1 parent e8600ae commit cc2a757
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common/src/main/java/muramasa/antimatter/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,6 @@ public static boolean breakBlock(Level world, @Nullable Player player, ItemStack
state.getBlock().playerDestroy(world, player, pos, state, world.getBlockEntity(pos), stack);
}
stack.hurtAndBreak(state.getDestroySpeed(world, pos) != 0.0F ? damage : 0, player, (onBroken) -> onBroken.broadcastBreakEvent(EquipmentSlot.MAINHAND));
Block.dropResources(state, world, pos);
}
if (exp > 0) popExperience(state.getBlock(), (ServerLevel) world, pos, exp);
return destroyed;
Expand Down

0 comments on commit cc2a757

Please sign in to comment.