From 1cb0e8008f821dc7a2c9c99e936833a413b0f517 Mon Sep 17 00:00:00 2001 From: Forstride Date: Thu, 11 Aug 2016 18:03:51 -0400 Subject: [PATCH] Update ItemMudball.java --- src/main/java/biomesoplenty/common/item/ItemMudball.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/biomesoplenty/common/item/ItemMudball.java b/src/main/java/biomesoplenty/common/item/ItemMudball.java index 963bd8a86..fd4494e28 100644 --- a/src/main/java/biomesoplenty/common/item/ItemMudball.java +++ b/src/main/java/biomesoplenty/common/item/ItemMudball.java @@ -41,12 +41,11 @@ public class ItemMudball extends Item if (!world.isRemote) { EntityMudball mudball = new EntityMudball(world, player); - //TODO: replace this - //mudball.func_184538_a(player, player.rotationPitch, player.rotationYaw, 0.0F, 1.5F, 1.0F); + mudball.setHeadingFromThrower(player, player.rotationPitch, player.rotationYaw, 0.0F, 1.5F, 1.0F); world.spawnEntityInWorld(mudball); } player.addStat(StatList.getObjectUseStats(this)); return new ActionResult(EnumActionResult.SUCCESS, stack); } -} \ No newline at end of file +}