Fixed ClassDef error that prevented the server from loading unless

Spout was installed.
This commit is contained in:
GJ
2012-06-28 10:03:22 -04:00
parent 50e05c6320
commit f4dd7ff483
2 changed files with 12 additions and 6 deletions

View File

@ -1,9 +1,7 @@
package com.gmail.nossr50.runnables;
import org.getspout.spoutapi.SpoutManager;
import org.getspout.spoutapi.event.spout.SpoutCraftEnableEvent;
import org.getspout.spoutapi.player.FileManager;
import org.getspout.spoutapi.player.SpoutPlayer;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.config.SpoutConfig;
@ -36,10 +34,7 @@ public class SpoutStart implements Runnable{
FM.addToPreLoginCache(plugin, SpoutStuff.getFiles());
//Handle spout players after a /reload
for (SpoutPlayer spoutPlayer : SpoutManager.getPlayerManager().getOnlinePlayers()) {
SpoutCraftEnableEvent spoutCraftEnableEvent = new SpoutCraftEnableEvent(spoutPlayer);
mcMMO.p.getServer().getPluginManager().callEvent(spoutCraftEnableEvent);
}
SpoutStuff.reloadSpoutPlayers();
}
}
}