diff --git a/src/engine/net/client/handlers/ObjectActionMsgHandler.java b/src/engine/net/client/handlers/ObjectActionMsgHandler.java index 661ef165..12e4660e 100644 --- a/src/engine/net/client/handlers/ObjectActionMsgHandler.java +++ b/src/engine/net/client/handlers/ObjectActionMsgHandler.java @@ -528,7 +528,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { dispatch = Dispatch.borrow(player, msg); DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY); - player.cancelOnSpell(); + if(!item.getItemBase().getType().equals(ItemType.POTION) && !item.getItemBase().getType().equals(ItemType.SCROLL)) { + player.cancelOnSpell(); + } break; default: //shouldn't be here, consume item dispatch = Dispatch.borrow(player, msg);