mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Mod support - Fixed blocks config not loading or generating.
This commit is contained in:
parent
a9295751c8
commit
e1ca2c0b98
@ -8,6 +8,7 @@ import com.gmail.nossr50.commands.party.*;
|
|||||||
import com.gmail.nossr50.commands.general.*;
|
import com.gmail.nossr50.commands.general.*;
|
||||||
import com.gmail.nossr50.config.Config;
|
import com.gmail.nossr50.config.Config;
|
||||||
import com.gmail.nossr50.config.LoadTreasures;
|
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.LoadCustomArmor;
|
||||||
import com.gmail.nossr50.config.mods.LoadCustomTools;
|
import com.gmail.nossr50.config.mods.LoadCustomTools;
|
||||||
import com.gmail.nossr50.runnables.*;
|
import com.gmail.nossr50.runnables.*;
|
||||||
@ -82,6 +83,10 @@ public class mcMMO extends JavaPlugin {
|
|||||||
LoadCustomArmor.getInstance().load();
|
LoadCustomArmor.getInstance().load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (configInstance.getBlockModsEnabled()) {
|
||||||
|
CustomBlocksConfig.getInstance().load();
|
||||||
|
}
|
||||||
|
|
||||||
if (!configInstance.getUseMySQL()) {
|
if (!configInstance.getUseMySQL()) {
|
||||||
Users.loadUsers();
|
Users.loadUsers();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user