From cf551cdbab2aaad497bfb8ff2ba46f0d76370326 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 19 Apr 2021 20:01:38 +0200 Subject: [PATCH] Fix Region TNT mode Fix Loader naming --- .../src/de/steamwar/bausystem/features/loader/Loader.java | 8 ++++---- .../src/de/steamwar/bausystem/region/Region.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java index e3f28435..39f8b60f 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java @@ -208,10 +208,10 @@ public class Loader implements Listener { @AllArgsConstructor public enum Stage implements EnumDisplay { - SETUP("§esetup"), - RUNNING("§arunning"), - PAUSE("§7pause"), - END("§8finished"); + SETUP("§eSetup"), + RUNNING("§aRunning"), + PAUSE("§7Pause"), + END("§8Finished"); @Getter private String chatValue; diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java index eade3006..d7d68dcd 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java @@ -111,7 +111,7 @@ public class Region { } generatePrototypeData(prototype, point); - if (!hasType(RegionType.BUILD)) { + if (!hasType(RegionType.BUILD) || !hasType(RegionType.TESTBLOCK)) { flagStorage.set(Flag.TNT, TNTMode.DENY); } }