From 80840eca3fee048a9e1a5995e16774acbbe44efb Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 16 Apr 2021 19:23:56 +0200 Subject: [PATCH] =?UTF-8?q?Add=20option=20to=20multiple=20Z=C3=BCndphasen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/de/steamwar/bausystem/world/TNTSimulator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java b/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java index 0b5ed01..57a4812 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/TNTSimulator.java @@ -390,6 +390,10 @@ public class TNTSimulator { editTNT(); })); + swInventory.setItem(17, new SWItem(Material.TNT, "§eZündphase hinzufügen", clickType -> { + spawns.add(new TNTSpawn(position, entity)); + })); + // Delete tnt swInventory.setItem(26, new SWItem(Material.BARRIER, "§cEntfernen", clickType -> { hide();