SteamWar/FightSystem
Archiviert
13
1

Merge pull request 'Potential fix for empty subtitles in 1.18 on <=1.15 servers' (#346) from testEmptyTitleFix into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #346
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2022-04-09 21:39:32 +02:00
Commit 3910eded8f

Datei anzeigen

@ -232,7 +232,7 @@ public class FightUI {
} }
Message message = queue.poll(); Message message = queue.poll();
Bukkit.getOnlinePlayers().forEach(p -> WorldOfColorWrapper.impl.sendTitle(p, "", FightSystem.getMessage().parse(message.getMsg(), p, message.getParams()), 5, 40, 5)); Bukkit.getOnlinePlayers().forEach(p -> WorldOfColorWrapper.impl.sendTitle(p, " ", FightSystem.getMessage().parse(message.getMsg(), p, message.getParams()), 5, 40, 5));
Bukkit.getScheduler().runTaskLater(FightSystem.getPlugin(), FightUI::printSubtitle, 50); Bukkit.getScheduler().runTaskLater(FightSystem.getPlugin(), FightUI::printSubtitle, 50);
subtitleScheduled = true; subtitleScheduled = true;
} }