apply human and elf runes in game

This commit is contained in:
2024-04-21 19:14:35 -05:00
parent 9604ee4399
commit ef49d0cbe0
@@ -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);