fix: marked modular items as damageable
fixes
@@ -128,6 +128,11 @@ public class ItemModularHandheld extends ItemModular {
return entityHitDamage;
}
+ @Override
+ public boolean isDamageable() {
+ return true;
+ }
+
@Override
public boolean onBlockDestroyed(ItemStack itemStack, World world, BlockState state, BlockPos pos, LivingEntity entity) {
if (state.getBlockHardness(world, pos) > 0) {
