mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Fixing compatibility with recent Spout updates. Why do people not understand the purpose of an API?
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user