Browse Source

failed rune sno longer get consumed

postwipe-teleporting
FatBoy-DOTC 5 months ago
parent
commit
1f732a8ca9
  1. 3
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

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

@ -264,8 +264,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
player.cancelOnSpell(); player.cancelOnSpell();
break; break;
case RUNE: case RUNE:
ApplyRuneMsg.applyRune(uuid, origin, player); if(ApplyRuneMsg.applyRune(uuid, origin, player)) {
itemMan.consume(item); itemMan.consume(item);
}
break; 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);

Loading…
Cancel
Save