The double chests are actually larger than 40, derp
This commit is contained in:
parent
546131dd77
commit
df0caabbac
@ -116,7 +116,7 @@ public class Cell {
|
||||
*/
|
||||
public boolean hasChest() {
|
||||
if(getChest() != null) {
|
||||
if(getChest().getInventory().getSize() == 40) return true;
|
||||
if(getChest().getInventory().getSize() >= 40) return true;
|
||||
else {
|
||||
Bukkit.getLogger().severe("The cell " + this.name + " has chest that isn't a double chest, please fix.");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user