--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java 2011/06/29 18:12:42 1537 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java 2011/06/29 18:16:51 1538 @@ -14,19 +14,19 @@ final static int NORTH = 2; final static int SOUTH = 3; - Location leftUpper; + private Location leftUpper; - Location blocks[][]; // [width][height] - [0][0] == leftUpper + private Location blocks[][]; // [width][height] - [0][0] == leftUpper - int material; + private int material; - int direction; + private int direction; - int width; - int height; + private int width; + private int height; - String owner; + private String owner; public Door(Block sign, int width, int height, DoorStorage store, String owner) throws ConflictingDoorException{ @@ -181,4 +181,10 @@ } } + + /////// setters and getters + public String getOwner() { + return owner; + } + }