1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-11-22 01:58:54 +00:00

fix ItemConfig null...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092 2015-10-04 21:24:40 +08:00
parent 377710b3c3
commit e8dad0b633

View File

@ -25,6 +25,7 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;
import org.maxgamer.QuickShop.Command.QS; import org.maxgamer.QuickShop.Command.QS;
import org.maxgamer.QuickShop.Config.ItemConfig;
import org.maxgamer.QuickShop.Database.Database; import org.maxgamer.QuickShop.Database.Database;
import org.maxgamer.QuickShop.Database.Database.ConnectionException; import org.maxgamer.QuickShop.Database.Database.ConnectionException;
import org.maxgamer.QuickShop.Database.DatabaseCore; import org.maxgamer.QuickShop.Database.DatabaseCore;
@ -227,7 +228,7 @@ public class QuickShop extends JavaPlugin {
// Initialize Util // Initialize Util
Util.initialize(); Util.initialize();
ItemConfig.load(this);
// Create the shop manager. // Create the shop manager.
this.shopManager = new ShopManager(this); this.shopManager = new ShopManager(this);
if (this.display) { if (this.display) {