1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-03-28 20:59:44 +01:00

Fixing compatibility with recent Spout updates. Why do people not understand the purpose of an API?

This commit is contained in:
Glitchfinder 2012-12-25 21:22:38 -08:00
parent 8237bd52b5
commit d367dbf767
2 changed files with 2 additions and 2 deletions
pom.xml
src/main/java/com/gmail/nossr50/spout

@ -124,7 +124,7 @@
<dependency>
<groupId>org.getspout</groupId>
<artifactId>spoutplugin</artifactId>
<version>dev-SNAPSHOT</version>
<version>LATEST</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

@ -571,7 +571,7 @@ public class SpoutStuff {
* Re-enable SpoutCraft for players after a /reload
*/
public static void reloadSpoutPlayers() {
for (SpoutPlayer spoutPlayer : SpoutManager.getPlayerManager().getOnlinePlayers()) {
for (SpoutPlayer spoutPlayer : SpoutManager.getPlayerChunkMap().getOnlinePlayers()) {
SpoutCraftEnableEvent spoutCraftEnableEvent = new SpoutCraftEnableEvent(spoutPlayer);
mcMMO.p.getServer().getPluginManager().callEvent(spoutCraftEnableEvent);
}