Exemple #1
0
 @EventHandler(priority = EventPriority.LOW)
 public void onWorldUnload(WorldUnloadEvent event) {
   GrowthTask.unschedule(event.getWorld());
 }
Exemple #2
0
 @EventHandler(priority = EventPriority.LOW)
 public void onWorldInit(WorldInitEvent event) {
   GrowthTask.schedule(plugin, event.getWorld());
 }