Archiviert
1
0

Merge pull request 'moreML' (#175) from moreML into master

Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2021-02-05 11:36:27 +01:00
Commit b7fed24475
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -109,7 +109,7 @@ public class Message {
public static void broadcast(String message, String onHover, ClickEvent onClick, Object... params){
for(ProxiedPlayer player : ProxyServer.getInstance().getPlayers())
send(message, player, parse(onHover, true, player), onClick, params);
send(message, player, parse(onHover, false, player, params), onClick, params);
}
public static void broadcast(String message, Object... params){

Datei anzeigen

@ -81,7 +81,7 @@ public class ChallengeCommand extends BasicCommand {
arena.sendPlayer(target);
Message.broadcast("CHALLENGE_BROADCAST", "CHALLENGE_BROADCAST_HOVER",
new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/join " + player.getName()), mode.getDisplayName(), player.getDisplayName(), target.getDisplayName());
new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/join " + player.getName()), mode.getDisplayName(), player.getName(), target.getName());
}else{
if(!challenges.containsKey(player)){
challenges.put(player, new LinkedList<>());