Need Help in a gui kit plugin

Discussion in 'Plugin Development' started by SkyrimX, Dec 28, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    SkyrimX

    Hello there!
    Im trying to make a gui kit plugin
    And i need to know how to change current item to lets say a red glass pane to clarify that it's not available for a period of time i don't have a line of code i just want to know the methods for it

    Thanks for reading Waiting for responses!

    ~SkyrimX
     
  2. Offline

    Zombie_Striker

    @SkyrimX
    Get the clicked item, set it's durability to the red color (you will have to search this value), and reset the item equal to the modified clicked item (you can use Inventory#setItem(EVENT#getSlot() , MODIFIED ITEM )); to update the item.)
     
Thread Status:
Not open for further replies.

Share This Page