/[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 1806 by torben, Mon May 28 15:36:28 2012 UTC revision 1807 by torben, Sun Jun 3 18:05:09 2012 UTC
# Line 7  import java.util.List; Line 7  import java.util.List;
7  import org.bukkit.plugin.PluginManager;  import org.bukkit.plugin.PluginManager;
8  import org.bukkit.plugin.java.JavaPlugin;  import org.bukkit.plugin.java.JavaPlugin;
9    
10  import dk.thoerup.bukkit.hoeruputils.chests.LockedChest;  import dk.thoerup.bukkit.hoeruputils.chests.AdvancedChest;
11  import dk.thoerup.bukkit.hoeruputils.chests.LockedChestBean;  import dk.thoerup.bukkit.hoeruputils.chests.ChestBean;
 import dk.thoerup.bukkit.hoeruputils.chests.SnitchingChest;  
 import dk.thoerup.bukkit.hoeruputils.chests.SnitchingChestBean;  
12  import dk.thoerup.bukkit.hoeruputils.creative.GeneralContractorCommands;  import dk.thoerup.bukkit.hoeruputils.creative.GeneralContractorCommands;
13  import dk.thoerup.bukkit.hoeruputils.message.MessageBean;  import dk.thoerup.bukkit.hoeruputils.message.MessageBean;
14  import dk.thoerup.bukkit.hoeruputils.message.MessageWrapper;  import dk.thoerup.bukkit.hoeruputils.message.MessageWrapper;
# Line 93  public class HoerupUtilsPlugin extends J Line 91  public class HoerupUtilsPlugin extends J
91                  };                  };
92                  messageWrapper = new MessageWrapper(this, ddlInstaller);                  messageWrapper = new MessageWrapper(this, ddlInstaller);
93                  pm.registerEvents( messageWrapper, this);                  pm.registerEvents( messageWrapper, this);
94                                            
95                  SnitchingChest snitch = new SnitchingChest(this, ddlInstaller);                  AdvancedChest locked = new AdvancedChest(this, ddlInstaller);
96                  getCommand("snitchingchest").setExecutor(snitch);                  getCommand("chest").setExecutor(locked);
                 pm.registerEvents( snitch, this);  
                   
                 LockedChest locked = new LockedChest(this, ddlInstaller);  
                 getCommand("lockedchest").setExecutor(locked);  
97                  pm.registerEvents( locked, this);                  pm.registerEvents( locked, this);
98                                    
99                                    
# Line 144  public class HoerupUtilsPlugin extends J Line 138  public class HoerupUtilsPlugin extends J
138                  List<Class<?>> list = new ArrayList<Class<?>>();                  List<Class<?>> list = new ArrayList<Class<?>>();
139    
140                  list.add(MessageBean.class);                  list.add(MessageBean.class);
141                  list.add(SnitchingChestBean.class);                  list.add(ChestBean.class);
                 list.add(LockedChestBean.class);  
142                  list.add(WebUser.class);                  list.add(WebUser.class);
143    
144                  return list;                  return list;

Legend:
Removed from v.1806  
changed lines
  Added in v.1807

  ViewVC Help
Powered by ViewVC 1.1.20