From bcc972ab6b2cf8f32d43e15f2e0b31e6193b4a0b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 9 Apr 2021 18:16:19 +0200 Subject: [PATCH] Add BauScoreboard Protect section --- .../src/de/steamwar/bausystem/world/BauScoreboard.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/BauScoreboard.java b/BauSystem_Main/src/de/steamwar/bausystem/world/BauScoreboard.java index 5ba1eb3..f01e67c 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/BauScoreboard.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/BauScoreboard.java @@ -66,6 +66,9 @@ public class BauScoreboard implements Listener { strings.add("§eFire§8: " + (region.isFire() ? "§aaus" : "§can")); strings.add("§eTrace§8: " + RecordStateMachine.getRecordStatus().getName()); strings.add("§eLoader§8: " + (AutoLoader.hasLoader(p) ? "§aan" : "§caus")); + if (region.hasProtection()) { + strings.add("§eProtect§8: " + (region.isProtect() ? "§aan" : "§caus")); + } if (RecordStateMachine.getRecordStatus().isTracing()) { strings.add("§3");