/[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 1591 by torben, Tue Aug 16 16:04:01 2011 UTC revision 1592 by torben, Wed Aug 24 18:45:40 2011 UTC
# Line 35  public class HoerupUtilsPlugin extends J Line 35  public class HoerupUtilsPlugin extends J
35                  getCommand("tp").setExecutor( new TeleportCommand() );                  getCommand("tp").setExecutor( new TeleportCommand() );
36    
37                  getCommand("wall").setExecutor( new WallCommand() );                  getCommand("wall").setExecutor( new WallCommand() );
38                    getCommand("weather").setExecutor( new WeatherCommand() );
39    
40    
41                    HomeCommand home = new HomeCommand(this);
42                    getCommand("home").setExecutor( home );
43                    getCommand("sethome").setExecutor( home );
44                    
45                                    
46                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
47                  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.1591  
changed lines
  Added in v.1592

  ViewVC Help
Powered by ViewVC 1.1.20