forked from SteamWar/SteamWar
Fix ColorCommand
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user