Make WorldEvents method non-static

This commit is contained in:
Gabscap 2016-03-12 16:27:03 +01:00
parent edc43bd53b
commit 4c40268e8f

View file

@ -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();