Forum Discussion

MResearch's avatar
MResearch
MHCP Member
1 year ago
Solved

Function this.world.WorldInventory.grantItemToPlayer doesn't work as expected

I have been working on the new Economy world tutorial from Horizon World Documentation and find that line 82 WorldInventory.grantItemToPlayer(player, this.props.lootSKU, this.props.lootCount); ...
  • SeeingBlue's avatar
    9 months ago

    Might be a bug, but there is also a delay before purchases are reflected this way. Might need to wait a couple seconds before checking their entitlements.

    Also is your quantity value greater than 0?