move this over to block base

This commit is contained in:
Raoul Van den Berge
2015-12-21 20:40:21 +01:00
parent 81ee8cf7af
commit da89f6778e
2 changed files with 5 additions and 5 deletions

View File

@@ -53,6 +53,11 @@ public abstract class BlockBase extends Block {
return false;
}
@Override
public int damageDropped(int meta) {
return meta;
}
@Override
public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack) {
super.onBlockPlacedBy(world, x, y, z, entityLiving, itemStack);

View File

@@ -26,11 +26,6 @@ public class BlockCable extends BlockBase implements ITileEntityProvider {
}
}
@Override
public int damageDropped(int meta) {
return meta;
}
@Override
public int getRenderType() {
return -1;