diff --git a/src/main/js/modules/http/request.js b/src/main/js/modules/http/request.js index 604649f..be39c97 100644 --- a/src/main/js/modules/http/request.js +++ b/src/main/js/modules/http/request.js @@ -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){