Fixed bug for Inventory

This commit is contained in:
Ka0rX 2022-10-28 21:56:23 +02:00
parent b1797f30ea
commit 20c55f2d6b

View File

@ -337,6 +337,9 @@ public class SkillTreeViewer extends EditableInventory {
@Override
public void whenClicked(InventoryClickContext event, InventoryItem item) {
if(event.getClickedItem()==null)
return;
if (item.getFunction().equals("next-tree-list-page")) {
treeListPage++;
open();