/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1730 by torben, Tue Mar 13 08:30:39 2012 UTC revision 1738 by torben, Sun Mar 18 10:19:19 2012 UTC
# Line 48  public class HoerupUtilsPlugin extends J Line 48  public class HoerupUtilsPlugin extends J
48                  getCommand("slopearea").setExecutor( generalContractor );                  getCommand("slopearea").setExecutor( generalContractor );
49                  getCommand("setsurface").setExecutor( generalContractor );                  getCommand("setsurface").setExecutor( generalContractor );
50                  getCommand("platform").setExecutor( generalContractor );                  getCommand("platform").setExecutor( generalContractor );
51                    getCommand("cylinder").setExecutor( generalContractor );
52    
53                    
54                    getCommand("cylinder").setExecutor( new TemplateCommand(this) );
55    
56                  LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() );                  LogintimeHandler logintimeHandler = new LogintimeHandler( this.getDataFolder() );
57                                    
# Line 74  public class HoerupUtilsPlugin extends J Line 77  public class HoerupUtilsPlugin extends J
77                  if ( api != null) {                  if ( api != null) {
78                          StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() );                          StatusListener status = new StatusListener(this, getServer(), logintimeHandler.getConfig(), home.getConfig() );
79                          //api.setRequestController("webstatus", status );                          //api.setRequestController("webstatus", status );
80                          //ApiManager.getInstance().registerController( status );                          ApiManager.getInstance().registerController( status );
81                  } else {                  } else {
82                          System.out.println("Could not find ApiBukkit");                          System.out.println("Could not find ApiBukkit");
83                  }                  }

Legend:
Removed from v.1730  
changed lines
  Added in v.1738

  ViewVC Help
Powered by ViewVC 1.1.20