Update FreezeCommand
Dieser Commit ist enthalten in:
Ursprung
c4bc186331
Commit
6a9d6220a7
@ -39,11 +39,11 @@ public class FreezeCommand extends SWCommand {
|
||||
public void toggleCommand(@Guard Player p) {
|
||||
if (toggle()) {
|
||||
Bukkit.getOnlinePlayers().forEach(player -> {
|
||||
Teamserver.MESSAGE.send(getEnableMessage(), player, ChatMessageType.ACTION_BAR);
|
||||
Teamserver.MESSAGE.sendPrefixless(getEnableMessage(), player, ChatMessageType.ACTION_BAR);
|
||||
});
|
||||
} else {
|
||||
Bukkit.getOnlinePlayers().forEach(player -> {
|
||||
Teamserver.MESSAGE.send(getDisableMessage(), player, ChatMessageType.ACTION_BAR);
|
||||
Teamserver.MESSAGE.sendPrefixless(getDisableMessage(), player, ChatMessageType.ACTION_BAR);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren