From dd94b45347332fe4cc8c42feef5bdb96eb64959e Mon Sep 17 00:00:00 2001 From: Driftay Date: Fri, 19 Jun 2020 11:18:11 -0400 Subject: [PATCH] Forgot about the FactionsPlayerListener --- .../factions/listeners/FactionsPlayerListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java index a981d7eb..e683f97d 100644 --- a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -489,7 +489,7 @@ public class FactionsPlayerListener implements Listener { if (FactionsPlugin.instance.getConfig().getBoolean("scoreboard.default-enabled", false)) { FScoreboard.init(me); - FScoreboard.get(me).setDefaultSidebar(new FDefaultSidebar(), FactionsPlugin.instance.getConfig().getInt("scoreboard.default-update-interval", 20)); + FScoreboard.get(me).setDefaultSidebar(new FDefaultSidebar()); FScoreboard.get(me).setSidebarVisibility(me.showScoreboard()); } @@ -564,7 +564,7 @@ public class FactionsPlayerListener implements Listener { CmdSeeChunk.seeChunkMap.remove(event.getPlayer().getName()); - FScoreboard.remove(me); + FScoreboard.remove(me, event.getPlayer()); } public String parseAllPlaceholders(String string, Faction faction, Player player) {