Spite, do you even code?

This commit is contained in:
Lizbeth Rika committed 2014-12-20 16:50:20 +00:00
1 parent edc9757012
commit 72afaf9d5c
1 file changed
+4 -8
@@ -102,14 +102,10 @@ public class BlockLivingwood extends BlockMod implements ILexiconable {
int meta = world.getBlockMetadata(x, y, z);
return meta == 0 ? LexiconData.pureDaisy : LexiconData.decorativeBlocks;
}
@Override
public boolean canSustainLeaves(IBlockAccess world, int x, int y, int z)
{
if(world.getBlockMetadata(x, y, z) == 0)
return true;
else
return false;
}
public boolean canSustainLeaves(IBlockAccess world, int x, int y, int z) {
return world.getBlockMetadata(x, y, z) == 0;
}
}