From e1ca2c0b98615df840347f6d86db3986d7c02b68 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 17 May 2012 08:33:50 -0400 Subject: [PATCH] Mod support - Fixed blocks config not loading or generating. --- src/main/java/com/gmail/nossr50/mcMMO.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 444d11f5e..29a49f67a 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -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(); }