WIP: 1.15 Support #33
@ -121,23 +121,19 @@ class GUI {
|
|||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
changeItem(p, schem);
|
changeItem(p, schem);
|
||||||
});
|
});
|
||||||
|
|
||||||
if(schem.availible())
|
if(schem.availible())
|
||||||
inv.setItem(4, SWItem.getMaterial("CAULDRON_ITEM"), "§e" + schem.getSchemType().name(), Arrays.asList("§7Zum Ändern", "§7anklicken"), false, click -> {
|
inv.setItem(4, SWItem.getMaterial("CAULDRON_ITEM"), "§e" + schem.getSchemType().name(), Arrays.asList("§7Zum Ändern", "§7anklicken"), false, click -> {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
changeType(p, schem);
|
changeType(p, schem);
|
||||||
});
|
});
|
||||||
|
|
||||||
inv.setItem(5, SWItem.getMaterial(""), "§eDownload", click -> {
|
inv.setItem(5, SWItem.getMaterial(""), "§eDownload", click -> {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
SchematicCommand.download(p, schem);
|
SchematicCommand.download(p, schem);
|
||||||
});
|
});
|
||||||
|
|
||||||
inv.setItem(6, SWItem.getMaterial("SKULL_ITEM"), "§eMitglieder", click -> {
|
inv.setItem(6, SWItem.getMaterial("SKULL_ITEM"), "§eMitglieder", click -> {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
delmembers(p, schem);
|
delmembers(p, schem);
|
||||||
});
|
});
|
||||||
|
|
||||||
inv.setItem(8, SWItem.getDye(1), (byte) 1, "§cLöschen", click -> {
|
inv.setItem(8, SWItem.getDye(1), (byte) 1, "§cLöschen", click -> {
|
||||||
p.closeInventory();
|
p.closeInventory();
|
||||||
delete(p, schem);
|
delete(p, schem);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren