From d5a4e47651c95578c7679ed2eaa3fff509e2c026 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 17:00:34 +0200 Subject: [PATCH] Fix EventManager --- src/de/steamwar/bungeecore/bot/events/EventManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/bot/events/EventManager.java b/src/de/steamwar/bungeecore/bot/events/EventManager.java index 3459543..7db9fd6 100644 --- a/src/de/steamwar/bungeecore/bot/events/EventManager.java +++ b/src/de/steamwar/bungeecore/bot/events/EventManager.java @@ -90,7 +90,7 @@ public class EventManager { embedBuilder.setAuthor("SteamWar", "https://www.steamwar.de"); EventFight.getEvent(event.getEventID()).forEach(eventFight -> { - embedBuilder.addField(Team.get(eventFight.getTeamBlue()) + " vs. " + Team.get(eventFight.getTeamRed()), "", true); + embedBuilder.addField(Team.get(eventFight.getTeamBlue()).getTeamKuerzel() + " vs. " + Team.get(eventFight.getTeamRed()).getTeamKuerzel(), "", true); }); MessageBuilder messageBuilder = new MessageBuilder();