From b5f0dde9d18ea1880c6620d11389daf11dc1a5db Mon Sep 17 00:00:00 2001 From: jojo Date: Wed, 20 Jan 2021 17:53:05 +0100 Subject: [PATCH] Optimize TNTSimulator --- .../src/de/steamwar/bausystem/canonsimulator/TNTSimulator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/canonsimulator/TNTSimulator.java b/BauSystem_Main/src/de/steamwar/bausystem/canonsimulator/TNTSimulator.java index 5d5e8c2..ca96905 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/canonsimulator/TNTSimulator.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/canonsimulator/TNTSimulator.java @@ -42,7 +42,7 @@ public class TNTSimulator { private static final Vector NY_VECTOR = new Vector(0, -0.0625, 0); private static final Vector Z_VECTOR = new Vector(0, 0, 0.0625); private static final Vector NZ_VECTOR = new Vector(0, 0, -0.0625); - private static final List LORE = Arrays.asList("§7Klicken zum ändern"); + private static final List LORE = Collections.singletonList("§7Klicken zum ändern"); static Map tntSimulatorMap = new HashMap<>();