From d92cf9e80093dfdae4d437b729affa3872678f56 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 10 Apr 2022 21:16:49 +0200 Subject: [PATCH] Fix skip Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/commands/SkipCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/commands/SkipCommand.java b/FightSystem_Core/src/de/steamwar/fightsystem/commands/SkipCommand.java index ba99371..a1bedda 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/commands/SkipCommand.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/commands/SkipCommand.java @@ -43,7 +43,7 @@ public class SkipCommand implements CommandExecutor { } Player player = (Player) sender; - if(PacketProcessor.isReplaying() && Fight.getBlueTeam().getDesignatedLeader() == player.getUniqueId()) { + if(PacketProcessor.isReplaying() && player.getUniqueId().equals(Fight.getBlueTeam().getDesignatedLeader())) { PacketProcessor.currentReplay().skipToSubtitle(); } else { Commands.toggleSkip(player);