Removed unused code, added Override annotation
This commit is contained in:
parent
14f715ff7b
commit
bf5b649fc4
39 changed files with 94 additions and 102 deletions
|
@ -39,10 +39,12 @@ public class ItemBlockCable extends ItemBlock {
|
|||
setHasSubtypes(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetadata(int damage) {
|
||||
return damage;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack stack) {
|
||||
return super.getUnlocalizedName() + "." + EnumCableType.values()[stack.getItemDamage()].getName();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue