Move multiversion materials setup to before Conf setup

This commit is contained in:
ProSavage 2018-08-18 19:56:59 -05:00
parent 855d8724eb
commit 124cd4f8ac

View File

@ -114,7 +114,7 @@ public class P extends MPlugin {
} }
this.loadSuccessful = false; this.loadSuccessful = false;
saveDefaultConfig(); saveDefaultConfig();
setupMultiversionMaterials();
// Load Conf from disk // Load Conf from disk
Conf.load(); Conf.load();
Essentials.setup(); Essentials.setup();
@ -179,7 +179,7 @@ public class P extends MPlugin {
factionsFlight = true; factionsFlight = true;
} }
setupMultiversionMaterials();
// Register Event Handlers // Register Event Handlers
getServer().getPluginManager().registerEvents(new FactionsPlayerListener(this), this); getServer().getPluginManager().registerEvents(new FactionsPlayerListener(this), this);