SteamWar/BungeeCore
Archiviert
13
2

Hotfix EventStarter message

Dieser Commit ist enthalten in:
yoyosource 2024-08-03 14:33:17 +02:00
Ursprung d8c10bba9b
Commit 5465111de8

Datei anzeigen

@ -20,6 +20,7 @@
package de.steamwar.velocitycore; package de.steamwar.velocitycore;
import de.steamwar.messages.Chatter; import de.steamwar.messages.Chatter;
import de.steamwar.messages.Message;
import de.steamwar.persistent.Subserver; import de.steamwar.persistent.Subserver;
import de.steamwar.sql.EventFight; import de.steamwar.sql.EventFight;
import de.steamwar.sql.Team; import de.steamwar.sql.Team;
@ -73,7 +74,7 @@ public class EventStarter {
} else { } else {
command = "/" + spectatePorts.get(next.getSpectatePort()); command = "/" + spectatePorts.get(next.getSpectatePort());
} }
Chatter.broadcast().system("EVENT_FIGHT_BROADCAST", "EVENT_FIGHT_BROADCAST_HOVER", ClickEvent.runCommand(command), blue.getTeamColor(), blue.getTeamName(), red.getTeamColor(), red.getTeamName()); Chatter.broadcast().system("EVENT_FIGHT_BROADCAST", new Message("EVENT_FIGHT_BROADCAST_HOVER"), ClickEvent.runCommand(command), blue.getTeamColor(), blue.getTeamName(), red.getTeamColor(), red.getTeamName());
} }
} }