diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/RegionUtils.java b/BauSystem_Main/src/de/steamwar/bausystem/region/RegionUtils.java index ba1d56db..098a2dc3 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/RegionUtils.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/RegionUtils.java @@ -52,9 +52,7 @@ public class RegionUtils { .stream() .filter(player -> region.inRegion(player.getLocation(), RegionType.NORMAL, RegionExtensionType.NORMAL)) .filter(player -> !region.isGlobal() || Region.getRegion(player.getLocation()).isGlobal()) - .forEach(player -> { - BauSystem.MESSAGE.send(message, player, objects); - }); + .forEach(player -> BauSystem.MESSAGE.send(message, player, objects)); } public static void message(Region region, Function function) {