Fixed Async deprecation issues

This commit is contained in:
gmcferrin
2012-12-25 01:06:21 -05:00
parent 9af66a8e69
commit 07e98ab79f
3 changed files with 4 additions and 3 deletions

View File

@ -46,6 +46,6 @@ public class MmoupdateCommand implements CommandExecutor {
return;
}
plugin.getServer().getScheduler().scheduleAsyncDelayedTask(plugin, new SQLConversionTask(plugin), 1);
plugin.getServer().getScheduler().runTaskLaterAsynchronously(plugin, new SQLConversionTask(plugin), 1);
}
}