apply human and elf runes in game
This commit is contained in:
@@ -542,7 +542,11 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
|
|||||||
PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, ib.getUseID(), ib.getUseAmount(), true);
|
PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, ib.getUseID(), ib.getUseAmount(), true);
|
||||||
|
|
||||||
itemMan.consume(item);
|
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);
|
itemMan.consume(item);
|
||||||
|
|
||||||
dispatch = Dispatch.borrow(player, msg);
|
dispatch = Dispatch.borrow(player, msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user