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

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

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

revision 1810 by torben, Mon Jun 4 18:27:14 2012 UTC revision 1813 by torben, Thu Jun 28 10:19:26 2012 UTC
# Line 265  public class AdvancedChest  implements L Line 265  public class AdvancedChest  implements L
265                    
266          void loadChests() {                      void loadChests() {            
267                  int count = loadChestsWorker();                  int count = loadChestsWorker();
268                  plugin.getLogger().info("[AdvancedChest] loaded " + count + " chests");                  server.getLogger().info("[AdvancedChest] loaded " + count + " chests");
269          }          }
270                    
271                    
# Line 403  public class AdvancedChest  implements L Line 403  public class AdvancedChest  implements L
403                                  }                                  }
404    
405    
406                                                            server.getLogger().info( "[AdvancedChest] " + event.getPlayer().getName() + " tried opening a chest owned by " + chest.getOwner() );
407                                  player.sendMessage( ChatColor.BLUE +  "Sorry but this chest is locked !");                                  player.sendMessage( ChatColor.BLUE +  "Sorry but this chest is locked !");
408                                  event.setCancelled(true);                                  event.setCancelled(true);
409                          }                          }
# Line 513  public class AdvancedChest  implements L Line 513  public class AdvancedChest  implements L
513                                          }                                          }
514                                                                    
515                                                                    
516                                          plugin.getLogger().info(msg);                                          server.getLogger().info( "[AdvancedChest]" + msg);
517                                          plugin.getMessageWrapper().sendMessage("system", owner, msg);                                          plugin.getMessageWrapper().sendMessage("system", owner, msg);
518                                  }                                  }
519                                                                    

Legend:
Removed from v.1810  
changed lines
  Added in v.1813

  ViewVC Help
Powered by ViewVC 1.1.20