/[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 1589 by torben, Tue Aug 16 07:44:12 2011 UTC revision 1590 by torben, Tue Aug 16 16:04:01 2011 UTC
# Line 33  public class HoerupUtilsPlugin extends J Line 33  public class HoerupUtilsPlugin extends J
33                  getCommand("boom").setExecutor( new BoomCommand(this) );                  getCommand("boom").setExecutor( new BoomCommand(this) );
34                  getCommand("spawn").setExecutor( new SpawnCommand() );                  getCommand("spawn").setExecutor( new SpawnCommand() );
35                  getCommand("tp").setExecutor( new TeleportCommand() );                  getCommand("tp").setExecutor( new TeleportCommand() );
36    
37                    getCommand("wall").setExecutor( new WallCommand() );
38                                    
39                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
40                  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.1589  
changed lines
  Added in v.1590

  ViewVC Help
Powered by ViewVC 1.1.20