mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix EntityPlayer passed to Bonemeal event.
This commit is contained in:
1 parent
42875b70d9
commit
0b16831ce9
1 file changed
+9
@@ -13,6 +13,15 @@
|
||||
public class ItemDye extends Item
|
||||
{
|
||||
/** List of dye color names */
|
||||
@@ -73,7 +79,7 @@
|
||||
{
|
||||
if (par1ItemStack.getItemDamage() == 15)
|
||||
{
|
||||
- if (func_96604_a(par1ItemStack, par3World, par4, par5, par6))
|
||||
+ if (applyBonemeal(par1ItemStack, par3World, par4, par5, par6, par2EntityPlayer))
|
||||
{
|
||||
if (!par3World.isRemote)
|
||||
{
|
||||
@@ -141,7 +147,27 @@
|
||||
|
||||
public static boolean func_96604_a(ItemStack par0ItemStack, World par1World, int par2, int par3, int par4)
|
||||
|
||||
Reference in new issue
Block a user