Browse Source

missing case for type RUNE in ObjectActionMsgHandler

combat-2
FatBoy-DOTC 7 months ago
parent
commit
c99433c9bd
  1. 3
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

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

@ -288,6 +288,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -288,6 +288,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);
player.cancelOnSpell();
break;
case RUNE:
ApplyRuneMsg.applyRune(uuid,origin,player);
break;
default: //shouldn't be here, consume item
dispatch = Dispatch.borrow(player, msg);
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);

Loading…
Cancel
Save