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