/[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 1384 by torben, Sat Apr 23 13:14:39 2011 UTC revision 1385 by torben, Sun Apr 24 10:23:02 2011 UTC
# Line 33  public class HoerupUtilsPlugin extends J Line 33  public class HoerupUtilsPlugin extends J
33                  pm.registerEvent(Event.Type.CUSTOM_EVENT, new MessageListener(getServer()), Priority.Normal, this);                  pm.registerEvent(Event.Type.CUSTOM_EVENT, new MessageListener(getServer()), Priority.Normal, this);
34                                    
35                                    
36                  AdminDestroy adminDestroy = new AdminDestroy();                  PowerMiner powerMiner = new PowerMiner();
37                  pm.registerEvent(Event.Type.BLOCK_DAMAGE, adminDestroy, Priority.Normal, this);                  pm.registerEvent(Event.Type.BLOCK_DAMAGE, powerMiner, Priority.Normal, this);
38                  getCommand("admindestroy").setExecutor(adminDestroy);                  getCommand("powerminer").setExecutor(powerMiner);
39          }          }
40    
41  }  }

Legend:
Removed from v.1384  
changed lines
  Added in v.1385

  ViewVC Help
Powered by ViewVC 1.1.20