Update mcMMO.java Plugin instance

This commit is contained in:
Yomamaeatstoes 2023-08-13 19:55:21 -04:00 committed by GitHub
parent 2cc24db615
commit 1781a996b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,9 @@ public class mcMMO extends JavaPlugin {
//Filter out any debug messages (if debug/verbose logging is not enabled) //Filter out any debug messages (if debug/verbose logging is not enabled)
getLogger().setFilter(new LogFilter(this)); getLogger().setFilter(new LogFilter(this));
//Folia lib plugin instance
FoliaLib foliaLib = new FoliaLib(this);
setupFilePaths(); setupFilePaths();
generalConfig = new GeneralConfig(getDataFolder()); //Load before skillTools generalConfig = new GeneralConfig(getDataFolder()); //Load before skillTools
skillTools = new SkillTools(this); //Load after general config skillTools = new SkillTools(this); //Load after general config