From 56680119e28be021e84095c33620dda1e8b8f2fa Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Thu, 31 Jul 2025 18:20:28 +0200 Subject: [PATCH] Fix ColorCommand --- .../src/de/steamwar/bausystem/features/region/ColorCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java index 436564ac..6c086ded 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/region/ColorCommand.java @@ -59,7 +59,7 @@ public class ColorCommand extends SWCommand { return; } Region region = Region.getRegion(p.getLocation()); - if (region.getType().isGlobal()) { + if (!region.getFlags().has(Flag.COLOR).isWritable()) { BauSystem.MESSAGE.send("REGION_COLOR_NO_REGION", p); return; }