SteamWar/BauSystem2.0
Archiviert
12
0

Update TechHiderCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-07-29 23:25:16 +02:00
Ursprung 5784cdc446
Commit 102bbea11e

Datei anzeigen

@ -86,10 +86,10 @@ public class TechHiderCommand extends SWCommand implements Listener {
if (hidden.get(region).contains(player)) { if (hidden.get(region).contains(player)) {
hidden.get(region).remove(player); hidden.get(region).remove(player);
BauSystem.MESSAGE.send("TECHHIDER_OFF", player, ChatMessageType.ACTION_BAR); BauSystem.MESSAGE.sendPrefixless("TECHHIDER_OFF", player, ChatMessageType.ACTION_BAR);
} else { } else {
hidden.get(region).add(player); hidden.get(region).add(player);
BauSystem.MESSAGE.send("TECHHIDER_ON", player, ChatMessageType.ACTION_BAR); BauSystem.MESSAGE.sendPrefixless("TECHHIDER_ON", player, ChatMessageType.ACTION_BAR);
} }
region.forEachChunk((x, z) -> { region.forEachChunk((x, z) -> {
CraftbukkitWrapper.impl.sendChunk(player, x, z); CraftbukkitWrapper.impl.sendChunk(player, x, z);