/[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 1519 by torben, Wed Jun 15 18:24:59 2011 UTC revision 1520 by torben, Mon Jun 20 16:33:38 2011 UTC
# Line 30  public class HoerupUtilsPlugin extends J Line 30  public class HoerupUtilsPlugin extends J
30                  getCommand("msg").setExecutor( new MsgCommand( getServer() ) );                  getCommand("msg").setExecutor( new MsgCommand( getServer() ) );
31                  getCommand("stoner").setExecutor( new StonerCommand() );                  getCommand("stoner").setExecutor( new StonerCommand() );
32                  getCommand("boom").setExecutor( new BoomCommand(this) );                  getCommand("boom").setExecutor( new BoomCommand(this) );
33                    getCommand("spawn").setExecutor( new SpawnCommand() );
34                                    
35                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
36                  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.1519  
changed lines
  Added in v.1520

  ViewVC Help
Powered by ViewVC 1.1.20