The double chests are actually larger than 40, derp

This commit is contained in:
graywolf336 2013-12-28 12:27:25 -06:00
parent 546131dd77
commit df0caabbac

View File

@ -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;