Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls

By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-03-12 17:39:51 +00:00
parent dfc8620a1b
commit e377a96a02
2 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ public class Fillr extends JavaPlugin {
public void onEnable() {
}
public void onLoad() {
}
@Override
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if (commandLabel.equalsIgnoreCase("check")) {