Adapt to commonDB #131
@ -46,6 +46,13 @@ public class GUI {
|
||||
|
||||
@Override
|
||||
public void onListRender(SchematicSelector selector, SWListInv<SchematicNode> inv, SchematicNode parent) {
|
||||
inv.setCallback(-999, (ClickType click) -> {
|
||||
if(parent == null) {
|
||||
player.closeInventory();
|
||||
} else {
|
||||
selector.reOpenDirUp();
|
||||
}
|
||||
});
|
||||
if(parent == null) {
|
||||
inv.setItem(49, Material.AIR, "", clickType -> {});
|
||||
} else {
|
||||
@ -187,7 +194,7 @@ public class GUI {
|
||||
}
|
||||
}
|
||||
|
||||
inv.setCallback(-999, click -> player.closeInventory());
|
||||
inv.setCallback(-999, click -> back.reOpen());
|
||||
inv.open();
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren