Bonemeal now only reacts to mangrove saplings when they are on sand
This commit is contained in:
parent
ba1c173093
commit
8c1984c967
2 changed files with 22 additions and 19 deletions
|
@ -214,6 +214,8 @@ public class BonemealUse
|
|||
}
|
||||
|
||||
if (event.ID == BOPBlocks.mangroveSapling.blockID)
|
||||
{
|
||||
if (event.world.getBlockId(event.X, event.Y - 1, event.Z) == Block.sand.blockID)
|
||||
{
|
||||
event.setResult(Result.ALLOW);
|
||||
|
||||
|
@ -225,6 +227,7 @@ public class BonemealUse
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (event.ID == BOPBlocks.acaciaSapling.blockID)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue