SteamWar/FightSystem
Archiviert
13
1

Fix skip
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-04-10 21:16:49 +02:00
Ursprung 72b03aa832
Commit d92cf9e800

Datei anzeigen

@ -43,7 +43,7 @@ public class SkipCommand implements CommandExecutor {
} }
Player player = (Player) sender; Player player = (Player) sender;
if(PacketProcessor.isReplaying() && Fight.getBlueTeam().getDesignatedLeader() == player.getUniqueId()) { if(PacketProcessor.isReplaying() && player.getUniqueId().equals(Fight.getBlueTeam().getDesignatedLeader())) {
PacketProcessor.currentReplay().skipToSubtitle(); PacketProcessor.currentReplay().skipToSubtitle();
} else { } else {
Commands.toggleSkip(player); Commands.toggleSkip(player);