Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
5784cdc446
Commit
102bbea11e
@ -86,10 +86,10 @@ public class TechHiderCommand extends SWCommand implements Listener {
|
||||
|
||||
if (hidden.get(region).contains(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 {
|
||||
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) -> {
|
||||
CraftbukkitWrapper.impl.sendChunk(player, x, z);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren