mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Spite, do you even code?
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user