From 4c40268e8fe960b852f543b74e489aa507247bae Mon Sep 17 00:00:00 2001 From: Gabscap Date: Sat, 12 Mar 2016 16:27:03 +0100 Subject: [PATCH] Make WorldEvents method non-static --- .../main/java/com/plotsquared/bukkit/listeners/WorldEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/WorldEvents.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/WorldEvents.java index 6f7f1b654..5c5305ff0 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/WorldEvents.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/WorldEvents.java @@ -14,7 +14,7 @@ import com.plotsquared.bukkit.generator.BukkitPlotGenerator; public class WorldEvents implements Listener { @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 String name = world.getName(); final ChunkGenerator gen = world.getGenerator();