Skip to content

Commit 8cd4c3b

Browse files
fix: Remove unused checking on inventory
1 parent e0d5e71 commit 8cd4c3b

File tree

41 files changed

+2
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2
-2
lines changed

addons/inventory-system-demos/tests/grid_inventory_test.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func init_suite():
2727
"test_serialize",
2828
"test_full",
2929
"test_get_stack_at",
30-
"test_transfer_to_with_stack"
30+
"test_transfer_to_with_stack",
3131
"test_has_space_for"
3232
]
3333

@@ -44,7 +44,7 @@ func test_has_place_for() -> void:
4444
## Inventory containing 2x2 item
4545
##InventoryGridStacked.set_item_max_stack_size(item_2x2, 1)
4646
assert(inventory_3x3.add(campfire) == 0)
47-
assert(inventory_3x3.has_space_for(stone_pickaxe))
47+
assert(!inventory_3x3.has_space_for(stone_pickaxe))
4848
#
4949
## Inventory containing 2x2 item with extended max_stack_size
5050
##InventoryGridStacked.set_item_max_stack_size(item_2x2, 10)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)