mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fixed client side bonemeal on grass only making flowers
This commit is contained in:
1 parent
e5d2de03ab
commit
924cc290dd
1 file changed
+6
-7
@@ -26,7 +26,7 @@
|
||||
|
||||
if (var8 == Block.sapling.blockID)
|
||||
{
|
||||
@@ -118,14 +131,7 @@
|
||||
@@ -118,13 +131,9 @@
|
||||
{
|
||||
par3World.setBlockAndMetadataWithNotify(var10, var11, var12, Block.tallGrass.blockID, 1);
|
||||
}
|
||||
@@ -34,15 +34,14 @@
|
||||
- {
|
||||
- par3World.setBlockWithNotify(var10, var11, var12, Block.plantYellow.blockID);
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
else
|
||||
{
|
||||
- par3World.setBlockWithNotify(var10, var11, var12, Block.plantRed.blockID);
|
||||
- }
|
||||
+ ForgeHooks.plantGrassPlant(par3World, var10, var11, var12);
|
||||
+ ForgeHooks.plantGrassPlant(par3World, var10, var11, var12);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -155,4 +161,20 @@
|
||||
@@ -155,4 +164,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user