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

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

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

revision 1239 by torben, Tue Mar 22 19:09:40 2011 UTC revision 1240 by torben, Tue Mar 22 19:50:46 2011 UTC
# Line 18  public class HoerupUtilsPlugin extends J Line 18  public class HoerupUtilsPlugin extends J
18          public void onEnable() {          public void onEnable() {
19                  System.out.println("Loading HoerupUtils plugin");                  System.out.println("Loading HoerupUtils plugin");
20                  getCommand("whereis").setExecutor(new WhereisCommand(getServer()));                  getCommand("whereis").setExecutor(new WhereisCommand(getServer()));
21                    getCommand("mapgen").setExecutor(new MapgenCommand(this));
22                                    
23                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
24                  pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);                  pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);

Legend:
Removed from v.1239  
changed lines
  Added in v.1240

  ViewVC Help
Powered by ViewVC 1.1.20