Fix HotbarKit.onInventoryClick not resetting the cursor item

This commit is contained in:
2025-04-23 18:28:58 +02:00
parent 1201b16ee4
commit ef66b8c1f1
@@ -119,6 +119,7 @@ public class HotbarKit extends Kit {
Player player = (Player) event.getWhoClicked(); Player player = (Player) event.getWhoClicked();
click(player, slot, event); click(player, slot, event);
player.setItemOnCursor(null);
} }
private void click(Player player, int slot, Cancellable event) { private void click(Player player, int slot, Cancellable event) {