mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Fixing compatibility with recent Spout updates. Why do people not understand the purpose of an API?
This commit is contained in:
		
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -124,7 +124,7 @@ | |||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.getspout</groupId> |             <groupId>org.getspout</groupId> | ||||||
|             <artifactId>spoutplugin</artifactId> |             <artifactId>spoutplugin</artifactId> | ||||||
|             <version>dev-SNAPSHOT</version> |             <version>LATEST</version> | ||||||
|             <type>jar</type> |             <type>jar</type> | ||||||
|             <scope>compile</scope> |             <scope>compile</scope> | ||||||
|         </dependency> |         </dependency> | ||||||
|   | |||||||
| @@ -571,7 +571,7 @@ public class SpoutStuff { | |||||||
|      * Re-enable SpoutCraft for players after a /reload |      * Re-enable SpoutCraft for players after a /reload | ||||||
|      */ |      */ | ||||||
|     public static void reloadSpoutPlayers() { |     public static void reloadSpoutPlayers() { | ||||||
|         for (SpoutPlayer spoutPlayer : SpoutManager.getPlayerManager().getOnlinePlayers()) { |         for (SpoutPlayer spoutPlayer : SpoutManager.getPlayerChunkMap().getOnlinePlayers()) { | ||||||
|             SpoutCraftEnableEvent spoutCraftEnableEvent = new SpoutCraftEnableEvent(spoutPlayer); |             SpoutCraftEnableEvent spoutCraftEnableEvent = new SpoutCraftEnableEvent(spoutPlayer); | ||||||
|             mcMMO.p.getServer().getPluginManager().callEvent(spoutCraftEnableEvent); |             mcMMO.p.getServer().getPluginManager().callEvent(spoutCraftEnableEvent); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Glitchfinder
					Glitchfinder