From d367dbf76732c1d9f0f81162d17ed7bc74cd68e1 Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Tue, 25 Dec 2012 21:22:38 -0800 Subject: [PATCH] Fixing compatibility with recent Spout updates. Why do people not understand the purpose of an API? --- pom.xml | 2 +- src/main/java/com/gmail/nossr50/spout/SpoutStuff.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5d74a1463..40a4899e3 100755 --- a/pom.xml +++ b/pom.xml @@ -124,7 +124,7 @@ org.getspout spoutplugin - dev-SNAPSHOT + LATEST jar compile diff --git a/src/main/java/com/gmail/nossr50/spout/SpoutStuff.java b/src/main/java/com/gmail/nossr50/spout/SpoutStuff.java index 4014f0b93..60ba61906 100644 --- a/src/main/java/com/gmail/nossr50/spout/SpoutStuff.java +++ b/src/main/java/com/gmail/nossr50/spout/SpoutStuff.java @@ -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); }