/[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 1237 by torben, Sun Mar 20 16:23:13 2011 UTC revision 1238 by torben, Tue Mar 22 18:39:02 2011 UTC
# Line 21  public class HoerupUtilsPlugin extends J Line 21  public class HoerupUtilsPlugin extends J
21                                    
22                  PluginManager pm = getServer().getPluginManager();                  PluginManager pm = getServer().getPluginManager();
23                  pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);                  pm.registerEvent(Event.Type.PLAYER_RESPAWN, new RespawnHandler(this), Priority.Normal, this);
24                    pm.registerEvent(Event.Type.ENTITY_DEATH, new RespawnHandler.PlayerDeathListener(this.getDataFolder()), Priority.Normal, this);
25          }          }
26    
27  }  }

Legend:
Removed from v.1237  
changed lines
  Added in v.1238

  ViewVC Help
Powered by ViewVC 1.1.20