Fixed incorrect method being used to stop item use

* See https://github.com/progwml6/HungerOverhaul/issues/29
This commit is contained in:
Ryan Liptak committed 2014-09-25 17:56:21 -07:00
1 parent 13207628b4
commit 7aabde4587
1 file changed
+1 -1
@@ -80,7 +80,7 @@ public class ItemTornadoRod extends ItemMod {
int max = FALL_MULTIPLIER * FLY_TIME;
if(stack.getItemDamage() >= max) {
setFlying(stack, false);
player.setItemInUse(null, 0);
player.stopUsingItem();
} else if(isFlying(stack)) {
player.fallDistance = 0F;
player.motionY = 1.25;