Skip to content

add better fallbacks for openShop hook payload#1933

Merged
thelindat merged 1 commit into
overextended:mainfrom
JHansen2000:main
May 11, 2026
Merged

add better fallbacks for openShop hook payload#1933
thelindat merged 1 commit into
overextended:mainfrom
JHansen2000:main

Conversation

@JHansen2000

Copy link
Copy Markdown
Contributor

This PR makes shopType and shopId fallback to the default shop.id in case the expected structure is not present (some shops defined in data/shops.lua present a shop.id that does not pass the regex match.

Also removed non-greedy repetition %d- from the matcher for more safe and intuitive behavior.

@thelindat thelindat merged commit dd23c55 into overextended:main May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants