Fix RegionUtils.actionBar
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
9f202b9798
Commit
ab59c641c0
@ -52,9 +52,7 @@ public class RegionUtils {
|
|||||||
.stream()
|
.stream()
|
||||||
.filter(player -> region.inRegion(player.getLocation(), RegionType.NORMAL, RegionExtensionType.NORMAL))
|
.filter(player -> region.inRegion(player.getLocation(), RegionType.NORMAL, RegionExtensionType.NORMAL))
|
||||||
.filter(player -> !region.isGlobal() || Region.getRegion(player.getLocation()).isGlobal())
|
.filter(player -> !region.isGlobal() || Region.getRegion(player.getLocation()).isGlobal())
|
||||||
.forEach(player -> {
|
.forEach(player -> BauSystem.MESSAGE.send(message, player, objects));
|
||||||
BauSystem.MESSAGE.send(message, player, objects);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void message(Region region, Function<Player, String> function) {
|
public static void message(Region region, Function<Player, String> function) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren