Merge pull request #1139 from MauveCloud/mangrove-fix
Added bitmask before checking block below sapling
This commit is contained in:
commit
fc7f1f6392
|
@ -60,7 +60,7 @@ public class BlockBOPColorizedSapling extends BlockSapling
|
|||
{
|
||||
Block block = world.getBlock(x, y - 1, z);
|
||||
|
||||
switch (metadata)
|
||||
switch (metadata & 7)
|
||||
{
|
||||
case 1: // Mangrove
|
||||
return block == Blocks.sand;
|
||||
|
|
Loading…
Reference in New Issue