Browse Source

apply human and elf runes in game

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
ef49d0cbe0
  1. 6
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

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

@ -542,7 +542,11 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -542,7 +542,11 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, ib.getUseID(), ib.getUseAmount(), true);
itemMan.consume(item);
} else //just remove the item at this point
} else if(ib.getUUID() > 252128 && ib.getUUID() < 252568){
if (ApplyRuneMsg.applyRune(uuid, origin, player)) {
itemMan.consume(item);
}
}else //just remove the item at this point
itemMan.consume(item);
dispatch = Dispatch.borrow(player, msg);

Loading…
Cancel
Save