Open Inventory without moving cursor

Discussion in 'Plugin Development' started by Julian., Aug 12, 2021.

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

    Julian.

    Hi
    i want to know if i can open inventory when a inventory are open without moving the cursor
    ! 1.12.2 !
     
  2. Offline

    xpaintall

    Can you be more detailed with your problem please.
    I cannot help you with your current description
     
  3. Offline

    c7dev

    This should already work by default, if you use Player#openInventory(Inventory i). The only time it will move the cursor is if you close the inventory before opening the next one (such as through Player#closeInventory()).
     
    KarimAKL likes this.
Thread Status:
Not open for further replies.

Share This Page