SomeSourceCode / SomeGuiApi

A Paper API to create interactable GUIs using Minecraft Inventories, ...
MIT License
1 stars 0 forks source link

Cursor resets on update #4

Closed SomeSourceCode closed 3 months ago

SomeSourceCode commented 3 months ago

Description

When an item is attached to the cursor during the update of the GUI, the cursor will reset and the item be placed back in the player inventory.

Potential Fix

Cache and reset the cursor before the gui gets updated. Then set the cursor to it's original state.