mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Livingwood makes leaves live
This commit is contained in:
1 parent
53270f665b
commit
a900760382
1 file changed
+9
@@ -102,5 +102,14 @@ 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user