Jump to content
  • 0
shadow fita

[562] Force equip?

Question

I was wondering how i can force equip something after deleting it cause im trying to get the amulet of glory teleports but i dontk now how to make it remove and put back a lower charge one.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
[code] player.getEquipment().set(Equipment.SLOT_AMULET, new Item(1710, 1));
player.getEquipment().refresh();[/code]

Share this post


Link to post
Share on other sites
  • 0
Thanks mate, also do you have the spirit tree animation and gfx ids?


*edit*

also how do you make it so the player will walk to the object they clicked on before it brings up the interface or whatnot. Edited by shadow fita

Share this post


Link to post
Share on other sites

×