/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1772 by torben, Tue Apr 3 20:21:02 2012 UTC revision 1773 by torben, Thu Apr 5 12:37:13 2012 UTC
# Line 75  public class HoerupUtilsPlugin extends J Line 75  public class HoerupUtilsPlugin extends J
75                                    
76                                    
77                                    
                 SnitchingChest snitch = new SnitchingChest(this);  
                 getCommand("snitchingchest").setExecutor(snitch);  
                 pm.registerEvents( snitch, this);  
78                                    
79                                    
80                    
# Line 89  public class HoerupUtilsPlugin extends J Line 86  public class HoerupUtilsPlugin extends J
86                          }                          }
87                  };                  };
88                  messageWrapper = new MessageWrapper(this, ddlInstaller);                  messageWrapper = new MessageWrapper(this, ddlInstaller);
89                  pm.registerEvents( messageWrapper, this);                                pm.registerEvents( messageWrapper, this);
90                    
91                    SnitchingChest snitch = new SnitchingChest(this, ddlInstaller);
92                    getCommand("snitchingchest").setExecutor(snitch);
93                    pm.registerEvents( snitch, this);
94    
95                    
96                  //register web plugins                  //register web plugins
97                  //pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer(), logintimeHandler.getConfig(), home.getConfig() ), Priority.Normal, this);                  //pm.registerEvent(Event.Type.CUSTOM_EVENT, new StatusListener(getServer(), logintimeHandler.getConfig(), home.getConfig() ), Priority.Normal, this);
# Line 123  public class HoerupUtilsPlugin extends J Line 125  public class HoerupUtilsPlugin extends J
125                  return messageWrapper;                  return messageWrapper;
126          }          }
127    
128          @SuppressWarnings({ "unchecked", "rawtypes" })          //@SuppressWarnings({ "unchecked", "rawtypes" })
129          @Override          @Override
130          public List<Class<?>> getDatabaseClasses() {          public List<Class<?>> getDatabaseClasses() {
131                  System.out.println("getDatabaseClasses");                  System.out.println("getDatabaseClasses");
132                  List list = new ArrayList();                  List<Class<?>> list = new ArrayList<Class<?>>();
133    
134                  list.add(MessageBean.class);                  list.add(MessageBean.class);
135                    list.add(SnitchingChestBean.class);
136    
137                  return list;                  return list;
138          }          }

Legend:
Removed from v.1772  
changed lines
  Added in v.1773

  ViewVC Help
Powered by ViewVC 1.1.20