Archiviert
1
0
Dieser Commit ist enthalten in:
Chaoscaot 2020-09-26 11:48:38 +02:00
Ursprung 30290b33b6
Commit 9eee6a6f23

Datei anzeigen

@ -230,7 +230,7 @@ public class BauCommand {
private static void delete(ProxiedPlayer p, String[] command){ private static void delete(ProxiedPlayer p, String[] command){
SWInventory inventory = new SWInventory(p, 9, "§eWirklich Welt löschen?"); SWInventory inventory = new SWInventory(p, 9, "§eWirklich Welt löschen?");
inventory.addItem(8, new SWItem(8, "§cAbbrechen", 1), click -> inventory.close()); inventory.addItem(8, new SWItem(8, "§cAbbrechen", 1), click -> inventory.close());
inventory.addItem(1, new SWItem(1, "§aLöchen", 10), click -> { inventory.addItem(1, new SWItem(0, "§aLöschen", 10), click -> {
if(bau15(p, command, 2)){ if(bau15(p, command, 2)){
SteamwarUser user = SteamwarUser.get(p.getUniqueId()); SteamwarUser user = SteamwarUser.get(p.getUniqueId());
deleteWorld(p, BungeeCore.USERWORLDS15 + user.getId()); deleteWorld(p, BungeeCore.USERWORLDS15 + user.getId());