Add Multi Personal Kits #228
@ -105,7 +105,7 @@ public class PersonalKitCreator extends BasicListener {
|
|||||||
inv.setItem(49, SWItem.getMaterial("WOOD_AXE"), "§7Kit bearbeiten", clickType -> openKitCreator(player, kit));
|
inv.setItem(49, SWItem.getMaterial("WOOD_AXE"), "§7Kit bearbeiten", clickType -> openKitCreator(player, kit));
|
||||||
inv.setItem(53, Material.BARRIER, "§cKit löschen", clickType -> {
|
inv.setItem(53, Material.BARRIER, "§cKit löschen", clickType -> {
|
||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
SWInventory conf = new SWInventory(player, 0, "§cKit " + kit.getName() + " wirklich löchen?");
|
SWInventory conf = new SWInventory(player, 9, "Kit wirklich löchen?");
|
||||||
conf.setItem(8, SWItem.getDye(1), "§cAbbrechen", click -> player.closeInventory());
|
conf.setItem(8, SWItem.getDye(1), "§cAbbrechen", click -> player.closeInventory());
|
||||||
conf.setItem(0, SWItem.getDye(10), "§aLöschen", click -> {
|
conf.setItem(0, SWItem.getDye(10), "§aLöschen", click -> {
|
||||||
player.closeInventory();
|
player.closeInventory();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren