Inventory Gui link to the player

Discussion in 'Plugin Development' started by Slaye, Jul 29, 2021.

  1. Offline

    Slaye

    Hi,
    So i create my Minecraft plugin and, something are wrong, let me explain :

    When i have create my Gui ( inventory ) and when we take an item in a slot that like we take the item in the Gui and the item in us personal inventory.

    Look this video :



    This is the same for some slots on armor like ( 6; 7; 8; 9) ( I start count from 1, not 0 ).

    So, if u have any idea / solutions, there are welcome !

    Code is in attached files.

    ( I use Spigot 1.8 )

    Ps : I'm sorry for my English.
     

    Attached Files:

  2. Offline

    Shqep

    @Slaye
    You might want to include the code that handles the inventory click event too.
    Did you perhaps forget to cancel the event but close the inventory?
     

Share This Page