--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/LockedChestBean.java 2012/05/28 20:15:38 1806 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/ChestBean.java 2012/06/03 18:05:09 1807 @@ -8,7 +8,11 @@ @Entity -public class LockedChestBean { +public class ChestBean { + final static int LOCKED = 1; + final static int SNITCHING = 2; + + @Id @GeneratedValue int id; @@ -23,11 +27,19 @@ boolean doublechest = false; - String modifyPlayers; + String modifyPlayers; + + int chestType; + public int getChestType() { + return chestType; + } + public void setChestType(int chestType) { + this.chestType = chestType; + } public String getOwner() { return owner; }