From 8b46d6fe6927ff0d816b15943c59866d491662a3 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 7 Mar 2021 10:34:58 +0100 Subject: [PATCH] Update pr stuff --- .../src/de/steamwar/bausystem/commands/CommandSimulator.java | 1 - .../src/de/steamwar/bausystem/world/TNTSimulator.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSimulator.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSimulator.java index a4dfcd8..325f1a3 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSimulator.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandSimulator.java @@ -25,7 +25,6 @@ import de.steamwar.bausystem.Permission; import de.steamwar.bausystem.PlayerUtils; import de.steamwar.bausystem.world.TNTSimulator; import de.steamwar.bausystem.world.Welt; -import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java b/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java index e451ad6..7a9fb2d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java @@ -81,11 +81,11 @@ public class TNTSimulator { SWListInv swListInv = new SWListInv<>(player, "Kanonensimulator", false, swListEntryList, (clickType, tntSpawn) -> { editTNT(player, tntSpawn); }); - swListInv.setItem(51, new SWItem(Material.BARRIER, "§cLösche alle TNT", clickType -> { + swListInv.setItem(51, new SWItem(Material.BARRIER, "§cTNT löschen", clickType -> { tntSimulator.TNT_SPAWNS.clear(); openSimulator(player); })); - swListInv.setItem(47, new SWItem(Material.FLINT_AND_STEEL, "§eSimulation starten", clickType -> { + swListInv.setItem(47, new SWItem(Material.FLINT_AND_STEEL, "§eStarten", clickType -> { player.closeInventory(); startSimulation(player); }));