Browse Source

scrolls removed from form breaking

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
9cc102ca2a
  1. 2
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

2
src/engine/net/client/handlers/ObjectActionMsgHandler.java

@ -528,7 +528,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -528,7 +528,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
dispatch = Dispatch.borrow(player, msg);
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
if(!item.getItemBase().getType().equals(ItemType.POTION) && !item.getItemBase().getType().equals(ItemType.SCROLL)) {
if(!item.getItemBase().getType().equals(ItemType.POTION)) {
player.cancelOnSpell();
}
break;

Loading…
Cancel
Save