/[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 1499 by torben, Sat Jun 4 10:41:21 2011 UTC revision 1501 by torben, Sat Jun 4 13:55:44 2011 UTC
# Line 26  public class HoerupUtilsPlugin extends J Line 26  public class HoerupUtilsPlugin extends J
26                  getCommand("grass").setExecutor(new GrassCommand());                  getCommand("grass").setExecutor(new GrassCommand());
27                  getCommand("getpos").setExecutor( new GetposCommand() );                  getCommand("getpos").setExecutor( new GetposCommand() );
28                  getCommand("zapme").setExecutor( new ZapmeCommand() );                  getCommand("zapme").setExecutor( new ZapmeCommand() );
29                    getCommand("zap").setExecutor( new ZapCommand() );
30                  getCommand("msg").setExecutor( new MsgCommand( getServer() ) );                  getCommand("msg").setExecutor( new MsgCommand( getServer() ) );
31                    getCommand("stoner").setExecutor( new StonerCommand() );
32                                    
33                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
34                  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.1499  
changed lines
  Added in v.1501

  ViewVC Help
Powered by ViewVC 1.1.20