diff --git a/Secure-Chests/src/me/HAklowner/SecureChests/Lock.java b/Secure-Chests/src/me/HAklowner/SecureChests/Lock.java index 592c2cc..ba1fe83 100644 --- a/Secure-Chests/src/me/HAklowner/SecureChests/Lock.java +++ b/Secure-Chests/src/me/HAklowner/SecureChests/Lock.java @@ -16,7 +16,7 @@ public class Lock { private String owner; private Map playerAccess; private Map clanAccess; - private Boolean isPublic; + private boolean isPublic; private Location lockLoc; private int id; //private int id; @@ -307,7 +307,7 @@ public boolean addToDenyList(Clan clan) { */ } - public Integer getAccess(String player) { + public int getAccess(String player) { //Return what access player has. if (player.equals(getOwner())) { @@ -345,7 +345,7 @@ public Integer getAccess(String player) { return 0; } - public Integer getAccess(Player player) { + public int getAccess(Player player) { return getAccess(player.getName()); } @@ -369,7 +369,7 @@ public void setID(int id) { this.id = id; } - public Boolean isLocked() { + public boolean isLocked() { String lockname = getOwner(); if (lockname != null) return true;