From c6e8e63088d8a3264d335c2284d72b41b0474123 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 13 Mar 2019 09:42:57 -0700 Subject: [PATCH] Scoreboard config part 1 --- .../java/com/gmail/nossr50/commands/skills/SkillCommand.java | 2 ++ src/main/java/com/gmail/nossr50/listeners/SelfListener.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java index f13295b15..49d237b20 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java @@ -1,6 +1,7 @@ package com.gmail.nossr50.commands.skills; import com.gmail.nossr50.config.AdvancedConfig; +import com.gmail.nossr50.config.MainConfig; import com.gmail.nossr50.datatypes.player.McMMOPlayer; import com.gmail.nossr50.datatypes.skills.PrimarySkillType; import com.gmail.nossr50.datatypes.skills.SubSkillType; @@ -25,6 +26,7 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.TabExecutor; import org.bukkit.entity.Player; +import org.bukkit.scoreboard.Scoreboard; import java.text.DecimalFormat; import java.util.ArrayList; diff --git a/src/main/java/com/gmail/nossr50/listeners/SelfListener.java b/src/main/java/com/gmail/nossr50/listeners/SelfListener.java index 5280664fb..12b3608dd 100644 --- a/src/main/java/com/gmail/nossr50/listeners/SelfListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/SelfListener.java @@ -18,6 +18,7 @@ import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; +import org.bukkit.scoreboard.Scoreboard; public class SelfListener implements Listener { //Used in task scheduling and other things