--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java 2011/06/27 19:34:03 1533 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java 2011/06/29 17:19:38 1536 @@ -25,13 +25,17 @@ int width; int height; + + String owner; - public Door(Block sign, int width, int height) { + public Door(Block sign, int width, int height, DoorStorage store, String owner) throws ConflictingDoorException{ leftUpper = sign.getLocation().clone(); this.width = width; this.height = height; + + this.owner = owner; blocks = new Location[width][height]; @@ -57,6 +61,16 @@ material = leftUpper.getBlock().getTypeId(); loadBlocks(); + + + for (int w=0; w