mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 18:53:43 +01:00 
			
		
		
		
	Merge pull request #951 from Gabscap/fix-static
Make WorldEvents method non-static
This commit is contained in:
		@@ -14,7 +14,7 @@ import com.plotsquared.bukkit.generator.BukkitPlotGenerator;
 | 
				
			|||||||
public class WorldEvents implements Listener {
 | 
					public class WorldEvents implements Listener {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
 | 
					    @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
 | 
				
			||||||
    public static void onWorldInit(final WorldInitEvent event) {
 | 
					    public void onWorldInit(final WorldInitEvent event) {
 | 
				
			||||||
        final World world = event.getWorld();
 | 
					        final World world = event.getWorld();
 | 
				
			||||||
        final String name = world.getName();
 | 
					        final String name = world.getName();
 | 
				
			||||||
        final ChunkGenerator gen = world.getGenerator();
 | 
					        final ChunkGenerator gen = world.getGenerator();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user