File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- 0.0.3
1
+ 0.0.7
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ contract InventoryFacet is
371
371
address itemAddress ,
372
372
uint256 itemTokenId ,
373
373
uint256 amount
374
- ) external diamondNonReentrant {
374
+ ) public override diamondNonReentrant {
375
375
require (
376
376
itemType == LibInventory.ERC20_ITEM_TYPE ||
377
377
itemType == LibInventory.ERC721_ITEM_TYPE ||
@@ -408,7 +408,7 @@ contract InventoryFacet is
408
408
// TODO(zomglings): The current implementation makes it so that players cannot increase the
409
409
// number of tokens of a given type that are equipped into a persistent slot. I would consider
410
410
// this a bug. For more details, see comment at bottom of the following test:
411
- // web3cli.test_inventory.TestPlayerFlow.test_player_cannot_unequip_erc20_tokens_from_persistent_slot_but_can_increase_amount
411
+ // web3cli.test_inventory.TestPlayerFlow.test_player_cannot_unequip_erc20_tokens_from_persistent_slot
412
412
if (
413
413
istore
414
414
.EquippedItems[istore.ContractERC721Address][subjectTokenId][slot]
@@ -491,7 +491,7 @@ contract InventoryFacet is
491
491
uint256 slot ,
492
492
bool unequipAll ,
493
493
uint256 amount
494
- ) external diamondNonReentrant {
494
+ ) public override diamondNonReentrant {
495
495
LibInventory.InventoryStorage storage istore = LibInventory
496
496
.inventoryStorage ();
497
497
You can’t perform that action at this time.
0 commit comments