Fixed a bug with coral turning into kelp
This commit is contained in:
parent
64842d83b1
commit
743c4fb6c6
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class BlockBOPCoral extends BOPBlock
|
||||||
{
|
{
|
||||||
int meta = world.getBlockMetadata(x, y, z);
|
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)
|
if (world.getBlock(x, y - 1, z) != this)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue