--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/18 10:35:28 1739 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2012/03/19 09:52:18 1754 @@ -49,6 +49,7 @@ getCommand("setsurface").setExecutor( generalContractor ); getCommand("platform").setExecutor( generalContractor ); getCommand("cylinder").setExecutor( generalContractor ); + getCommand("createcave").setExecutor( generalContractor ); getCommand("template").setExecutor( new TemplateCommand(this) ); @@ -73,14 +74,14 @@ //pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer(), logintimeHandler.getConfig(), home.getConfig() ), Priority.Normal, this); //pm.registerEvent(Event.Type.CUSTOM_EVENT, new MessageListener(getServer()), Priority.Normal, this); - ApiBukkit api = (ApiBukkit) pm.getPlugin("ApiBukkit") ; + /*ApiBukkit api = (ApiBukkit) pm.getPlugin("ApiBukkit") ; if ( api != null) { StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() ); //api.setRequestController("webstatus", status ); ApiManager.getInstance().registerController( status ); } else { System.out.println("Could not find ApiBukkit"); - } + }*/