Skip to content

Commit

Permalink
CraftStation: read first inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
slprime authored and Dream-Master committed Jan 13, 2024
1 parent 4fb9a82 commit 2ef3a76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public IInventory getFirstInventory() {
if (doubleFirst && doubleChest != null) {
return doubleChest.get();
} else {
return chest.get();
return chest != null ? chest.get() : null;
}
}

Expand Down

0 comments on commit 2ef3a76

Please sign in to comment.