forked from Upstream/mmocore
Fixed bug for Inventory
This commit is contained in:
parent
b1797f30ea
commit
20c55f2d6b
@ -337,6 +337,9 @@ public class SkillTreeViewer extends EditableInventory {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void whenClicked(InventoryClickContext event, InventoryItem item) {
|
public void whenClicked(InventoryClickContext event, InventoryItem item) {
|
||||||
|
if(event.getClickedItem()==null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (item.getFunction().equals("next-tree-list-page")) {
|
if (item.getFunction().equals("next-tree-list-page")) {
|
||||||
treeListPage++;
|
treeListPage++;
|
||||||
open();
|
open();
|
||||||
|
Loading…
Reference in New Issue
Block a user