Browse Source

missing case for type RUNE in ObjectActionMsgHandler

combat-2
FatBoy-DOTC 8 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 {
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY); DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);
player.cancelOnSpell(); player.cancelOnSpell();
break; break;
case RUNE:
ApplyRuneMsg.applyRune(uuid,origin,player);
break;
default: //shouldn't be here, consume item default: //shouldn't be here, consume item
dispatch = Dispatch.borrow(player, msg); dispatch = Dispatch.borrow(player, msg);
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY); DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);

Loading…
Cancel
Save