Custom inventory close event

Discussion in 'Plugin Development' started by hopstar, Mar 7, 2015.

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

    hopstar

    Last edited: Mar 7, 2015
  2. Offline

    Creeoer

    @hopstar
    It's kinda hard to help someone if they don't provide any code.
     
  3. Offline

    hopstar

    Il post the code in a sec, but my real question was if its get trigged also by opening the inventory?
     
  4. Offline

    SuchSwegMuchWow

    @hopstar If they had an inventory open then I think yes, because to open your custom inventory their other inventory had to be closed
     
  5. Offline

    hopstar

    @SuchSwegMuchWow
    Oke I don't know if they see the hotbar as an inventory but let say it it.
    I also check if the name of the inventory starts with ID:
    So this statement gets also trigerd as true.
    EventLisetener : Line 302
     
Thread Status:
Not open for further replies.

Share This Page