From b887b3b067188cd04f1fa989760ff22224ec709f Mon Sep 17 00:00:00 2001 From: blackyy Date: Sun, 28 Dec 2014 02:04:59 +0100 Subject: [PATCH] fixed le small error --- Tibbuhs/Tibbuhs/PotionManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tibbuhs/Tibbuhs/PotionManager.cs b/Tibbuhs/Tibbuhs/PotionManager.cs index 48ad4ae..3007801 100644 --- a/Tibbuhs/Tibbuhs/PotionManager.cs +++ b/Tibbuhs/Tibbuhs/PotionManager.cs @@ -106,7 +106,7 @@ private void OnGameUpdate(EventArgs args) { var healthSlot = GetPotionSlot(PotionType.Health); if (!IsBuffActive(PotionType.Health)) - healthSlot.UseItem(); + ObjectManager.Player.Spellbook.CastSpell(healthSlot.SpellSlot); } } if (ExtrasMenu.Item("ManaPotion").GetValue()) @@ -115,7 +115,7 @@ private void OnGameUpdate(EventArgs args) { var manaSlot = GetPotionSlot(PotionType.Mana); if (!IsBuffActive(PotionType.Mana)) - manaSlot.UseItem(); + ObjectManager.Player.Spellbook.CastSpell(manaSlot.SpellSlot); } } }