Commit 15c975a9 by github-actions

Transpile c90ff2cb

parent cf57bbdc
...@@ -30,12 +30,11 @@ contract GameItem is ERC721URIStorage { ...@@ -30,12 +30,11 @@ contract GameItem is ERC721URIStorage {
public public
returns (uint256) returns (uint256)
{ {
_tokenIds.increment();
uint256 newItemId = _tokenIds.current(); uint256 newItemId = _tokenIds.current();
_mint(player, newItemId); _mint(player, newItemId);
_setTokenURI(newItemId, tokenURI); _setTokenURI(newItemId, tokenURI);
_tokenIds.increment();
return newItemId; return newItemId;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment