fix http module for bukkit.
This commit is contained in:
Apple Lam 2015-04-28 20:09:59 +08:00
parent e1e78587f4
commit ebd42ed347

View file

@ -68,7 +68,7 @@ function paramsToString( params ) {
}
function invokeNow( fn ){
if (__plugin.bukkit){
server.schedule.runTask( __plugin, fn);
server.scheduler.runTask( __plugin, fn);
return;
}
if (__plugin.canary){