From 5465111de8251f5ebac585e8f82248de4843e4fe Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 3 Aug 2024 14:33:17 +0200 Subject: [PATCH] Hotfix EventStarter message --- src/de/steamwar/velocitycore/EventStarter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/velocitycore/EventStarter.java b/src/de/steamwar/velocitycore/EventStarter.java index 1be170f..88c5103 100644 --- a/src/de/steamwar/velocitycore/EventStarter.java +++ b/src/de/steamwar/velocitycore/EventStarter.java @@ -20,6 +20,7 @@ package de.steamwar.velocitycore; import de.steamwar.messages.Chatter; +import de.steamwar.messages.Message; import de.steamwar.persistent.Subserver; import de.steamwar.sql.EventFight; import de.steamwar.sql.Team; @@ -73,7 +74,7 @@ public class EventStarter { } else { 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()); } }