From ad597f8e904fdd4db29c759cb84bd3675e1f961c Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 2 Nov 2020 18:23:37 +0100 Subject: [PATCH] Hotfix inversion --- src/de/steamwar/spectatesystem/elements/RPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/spectatesystem/elements/RPlayer.java b/src/de/steamwar/spectatesystem/elements/RPlayer.java index ac93b03..0276fa8 100644 --- a/src/de/steamwar/spectatesystem/elements/RPlayer.java +++ b/src/de/steamwar/spectatesystem/elements/RPlayer.java @@ -44,7 +44,7 @@ public class RPlayer extends REntity { private static final Team team; static { - if(Bukkit.getScoreboardManager().getMainScoreboard().getTeam("Replay") != null) + if(Bukkit.getScoreboardManager().getMainScoreboard().getTeam("Replay") == null) team = Bukkit.getScoreboardManager().getMainScoreboard().registerNewTeam("Replay"); else team = Bukkit.getScoreboardManager().getMainScoreboard().getTeam("Replay");