Mod support - Fixed blocks config not loading or generating.

This commit is contained in:
GJ 2012-05-17 08:33:50 -04:00
parent a9295751c8
commit e1ca2c0b98

View File

@ -8,6 +8,7 @@ import com.gmail.nossr50.commands.party.*;
import com.gmail.nossr50.commands.general.*;
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.config.LoadTreasures;
import com.gmail.nossr50.config.mods.CustomBlocksConfig;
import com.gmail.nossr50.config.mods.LoadCustomArmor;
import com.gmail.nossr50.config.mods.LoadCustomTools;
import com.gmail.nossr50.runnables.*;
@ -82,6 +83,10 @@ public class mcMMO extends JavaPlugin {
LoadCustomArmor.getInstance().load();
}
if (configInstance.getBlockModsEnabled()) {
CustomBlocksConfig.getInstance().load();
}
if (!configInstance.getUseMySQL()) {
Users.loadUsers();
}