|
@@ -33,6 +33,7 @@ import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManager;
|
|
|
import com.gmail.nossr50.util.blockmeta.chunkmeta.ChunkManagerFactory;
|
|
|
import com.gmail.nossr50.util.commands.CommandRegistrationManager;
|
|
|
import com.gmail.nossr50.util.experience.FormulaManager;
|
|
|
+import com.gmail.nossr50.util.player.PlayerLevelUtils;
|
|
|
import com.gmail.nossr50.util.player.UserManager;
|
|
|
import com.gmail.nossr50.util.scoreboards.ScoreboardManager;
|
|
|
import com.gmail.nossr50.util.skills.RankUtils;
|
|
@@ -88,6 +89,8 @@ public class mcMMO extends JavaPlugin {
|
|
|
private static DatabaseManager databaseManager;
|
|
|
private static FormulaManager formulaManager;
|
|
|
private static MaterialMapStore materialMapStore;
|
|
|
+ private static PlayerLevelUtils playerLevelUtils;
|
|
|
+
|
|
|
/* File Paths */
|
|
|
private static String mainDirectory;
|
|
|
private static String localesDirectory;
|
|
@@ -337,6 +340,13 @@ public class mcMMO extends JavaPlugin {
|
|
|
|
|
|
//Init Material Maps
|
|
|
materialMapStore = new MaterialMapStore();
|
|
|
+
|
|
|
+ //Init player level values
|
|
|
+ playerLevelUtils = new PlayerLevelUtils();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static PlayerLevelUtils getPlayerLevelUtils() {
|
|
|
+ return playerLevelUtils;
|
|
|
}
|
|
|
|
|
|
private void checkForOutdatedAPI() {
|