Last active
December 14, 2015 08:49
-
-
Save cacciatc/5060961 to your computer and use it in GitHub Desktop.
Example of using the Bukkit Scheduler from ScriptCraft.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load(__folder + "../drone/drone.js"); | |
load(__folder + "../core/scriptcraft.js"); | |
Drone.extend("big",function(){ | |
server.scheduler.scheduleAsyncDelayedTask(global.plugin,function(){ | |
(new Drone()).box(1,500,100,500); | |
print("done"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment