General code cleanup

This commit is contained in:
modmuss50 2018-07-20 22:08:21 +01:00
parent 95b49e5e23
commit 7f8ce535a7
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
17 changed files with 21 additions and 58 deletions

View file

@ -106,12 +106,6 @@ public class ItemChainsaw extends ItemAxe implements IEnergyItemInfo {
return true;
}
// Item
@Override
public boolean onBlockStartBreak(ItemStack itemstack, BlockPos pos, EntityPlayer player) {
return super.onBlockStartBreak(itemstack, pos, player);
}
@Override
public double getDurabilityForDisplay(ItemStack stack) {
return 1 - ItemUtils.getPowerForDurabilityBar(stack);