SteamWar/BauSystem2.0
Archiviert
12
0

Fix RegionUtils.actionBar

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-07-05 18:17:03 +02:00
Ursprung 9f202b9798
Commit ab59c641c0

Datei anzeigen

@ -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<Player, String> function) {