mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Make WorldEvents method non-static
This commit is contained in:
parent
edc43bd53b
commit
4c40268e8f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue