/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java |
Parent Directory | Revision Log | Patch
revision 1810 by torben, Mon Jun 4 18:27:14 2012 UTC | revision 1811 by torben, Tue Jun 5 09:30:32 2012 UTC | |
---|---|---|
# | 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 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |