overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
440 stars 682 forks source link

stash.coords is not optional. Results in ox_lib error. #1779

Closed CrunchyBadger closed 1 week ago

CrunchyBadger commented 2 weeks ago

Describe the bug When registering a stash, coords is not optional and must be specified. Docs show coords as being optional https://overextended.dev/ox_inventory/Guides/stashes#stash-properties However this is not the case and leaving coords as nil will result in an error.

Framework ESX

Resource version Commit 0317d147

To Reproduce

Expected behavior Stash is registered without error.

Screenshots N/A

Additional context Will submit a PR with fix.

thelindat commented 2 weeks ago

This guide is related to the RegisterStash export and not the datafile.

CrunchyBadger commented 2 weeks ago

This guide is related to the RegisterStash export and not the datafile.

So the two function differently? If so ill close my PR if this is expected behaviour.