Browse Source

apply human and elf runes in game

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

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

@ -542,6 +542,10 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -542,6 +542,10 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, ib.getUseID(), ib.getUseAmount(), true);
itemMan.consume(item);
} 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);

Loading…
Cancel
Save