--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java 2011/06/29 14:57:08 1535 +++ 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, DoorStorage store) throws ConflictingDoorException{ + 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]; @@ -81,6 +85,7 @@ width = Integer.parseInt( parts[6] ); height = Integer.parseInt( parts[7] ); + owner = parts[8]; blocks = new Location[width][height]; @@ -136,6 +141,7 @@ sb.append( ":" + width ); sb.append( ":" + height ); + sb.append( ":" + owner); return sb.toString(); }