/[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 1471 by torben, Wed May 18 18:22:24 2011 UTC revision 1472 by torben, Sat May 21 18:06:15 2011 UTC
# Line 24  public class HoerupUtilsPlugin extends J Line 24  public class HoerupUtilsPlugin extends J
24                  getCommand("mapgen").setExecutor(new MapgenCommand(this));                  getCommand("mapgen").setExecutor(new MapgenCommand(this));
25                  getCommand("eternalday").setExecutor(new EternalDayCommand(this));                  getCommand("eternalday").setExecutor(new EternalDayCommand(this));
26                  getCommand("grass").setExecutor(new GrassCommand());                  getCommand("grass").setExecutor(new GrassCommand());
27                    getCommand("getpos").setExecutor( new GetposCommand() );
28                                    
29                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
30                  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.1471  
changed lines
  Added in v.1472

  ViewVC Help
Powered by ViewVC 1.1.20