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);