From e8dad0b6337c53cb6e7674426890adc7086caff5 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Sun, 4 Oct 2015 21:24:40 +0800 Subject: [PATCH] fix ItemConfig null... Signed-off-by: j502647092 --- src/main/java/org/maxgamer/QuickShop/QuickShop.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/QuickShop/QuickShop.java b/src/main/java/org/maxgamer/QuickShop/QuickShop.java index c076e7c..7eadb01 100644 --- a/src/main/java/org/maxgamer/QuickShop/QuickShop.java +++ b/src/main/java/org/maxgamer/QuickShop/QuickShop.java @@ -25,6 +25,7 @@ import org.bukkit.inventory.ItemStack; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.scheduler.BukkitTask; import org.maxgamer.QuickShop.Command.QS; +import org.maxgamer.QuickShop.Config.ItemConfig; import org.maxgamer.QuickShop.Database.Database; import org.maxgamer.QuickShop.Database.Database.ConnectionException; import org.maxgamer.QuickShop.Database.DatabaseCore; @@ -227,7 +228,7 @@ public class QuickShop extends JavaPlugin { // Initialize Util Util.initialize(); - + ItemConfig.load(this); // Create the shop manager. this.shopManager = new ShopManager(this); if (this.display) {