diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java index bd74a3b8..8f086715 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java @@ -55,9 +55,7 @@ public class Region { } public static void setGlobal(Flag flagType, Flag.Value value) { - for (Region region : REGION_LIST) { - region.set(flagType, value); - } + REGION_LIST.forEach(region -> region.set(flagType, value)); } YAPIONObject regionData;