diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index f5c72c8f6..743f5d214 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -104,12 +104,7 @@ public class mcMMO extends JavaPlugin { PluginManager pm = getServer().getPluginManager(); - if (pm.getPlugin("Spout") != null) { - LoadProperties.spoutEnabled = true; - } - else { - LoadProperties.spoutEnabled = false; - } + Bukkit.getScheduler().scheduleSyncDelayedTask(this, new SpoutStart(this), 20); //Schedule Spout Activation 1 second after start-up //Register events pm.registerEvents(playerListener, this); @@ -144,16 +139,6 @@ public class mcMMO extends JavaPlugin { registerCommands(); - //Spout Stuff - if (LoadProperties.spoutEnabled) { - SpoutStuff.setupSpoutConfigs(); - SpoutStuff.registerCustomEvent(); - SpoutStuff.extractFiles(); //Extract source materials - - FileManager FM = SpoutManager.getFileManager(); - FM.addToPreLoginCache(this, SpoutStuff.getFiles()); - } - if (LoadProperties.statsTracking) { //Plugin Metrics running in a new thread new Thread(new Runnable() {