Undid update that broke compatibility with 1.8.
This commit is contained in:
parent
9a5f01800e
commit
9d6808a302
|
@ -86,7 +86,7 @@ public class Kit {
|
|||
private boolean hasRoom(Player player, int itemAmount) {
|
||||
int space = 0;
|
||||
|
||||
for (ItemStack content : player.getInventory().getStorageContents()) {
|
||||
for (ItemStack content : player.getInventory().getContents()) {
|
||||
if (content == null) {
|
||||
space++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue