General code cleanup
This commit is contained in:
parent
95b49e5e23
commit
7f8ce535a7
17 changed files with 21 additions and 58 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue