Fixed the living blocks dropping wrong metadata.

This commit is contained in:
Vasco Lavos committed 2014-03-04 23:18:14 +00:00
1 parent ab1af15866
commit 676307b1a8
2 files changed
+10

No files matched your search

@@ -48,6 +48,11 @@ public class BlockLivingrock extends BlockMod implements ILexiconable {
protected boolean shouldRegisterInNameSet() {
return false;
}
@Override
public int damageDropped(int par1) {
return par1;
}
@Override
public Block setUnlocalizedName(String par1Str) {
@@ -48,6 +48,11 @@ public class BlockLivingwood extends BlockMod implements ILexiconable {
return false;
}
@Override
public int damageDropped(int par1) {
return par1;
}
@Override
public Block setUnlocalizedName(String par1Str) {
GameRegistry.registerBlock(this, ItemBlockWithMetadataAndName.class, par1Str);