mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Remove unneeded override as it's covered by the one above it now
This commit is contained in:
1 parent
0440ada3dd
commit
c0eed8a8e9
1 file changed
-8
-8
@@ -52,14 +52,6 @@ public class ItemManasteelPick extends PickaxeItem implements IManaUsingItem, IS
|
||||
return ToolCommons.damageItemIfPossible(stack, amount, entity, getManaPerDamage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onBlockDestroyed(@Nonnull ItemStack stack, @Nonnull World world, @Nonnull BlockState state, @Nonnull BlockPos pos, @Nonnull LivingEntity entity) {
|
||||
if(state.getBlockHardness(world, pos) != 0F)
|
||||
ToolCommons.damageItem(stack, 1, entity, getManaPerDamage());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@Override
|
||||
public ActionResultType onItemUse(ItemUseContext ctx) {
|
||||
|
||||
Reference in new issue
Block a user