Fixed a bug with coral turning into kelp

This commit is contained in:
Adubbz 2014-05-18 20:34:44 +10:00
parent 64842d83b1
commit 743c4fb6c6

View file

@ -89,7 +89,7 @@ public class BlockBOPCoral extends BOPBlock
{
int meta = world.getBlockMetadata(x, y, z);
if (category == CoralCategory.CAT1)
if (category == CoralCategory.CAT1 && (meta >= 8 && meta <= 11))
{
if (world.getBlock(x, y - 1, z) != this)
{