Fix bug where default bonemeal behavior wouldn't trigger. Only return if the event was canceled.
This commit is contained in:
parent
ede1e54c5e
commit
66bd2868cb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
var11 = par3World.getBlockId(par4, par5, par6);
|
||||
+
|
||||
+ BonemealEvent event = new BonemealEvent(par2EntityPlayer, par3World, var11, par4, par5, par6);
|
||||
+ if (!MinecraftForge.EVENT_BUS.post(event))
|
||||
+ if (MinecraftForge.EVENT_BUS.post(event))
|
||||
+ {
|
||||
+ return false;
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue