Skip to content

Fixing aliases for specific mons with hyphenated names#47

Open
KirbyRider1337 wants to merge 1 commit intoscoopapa:mainfrom
KirbyRider1337:main
Open

Fixing aliases for specific mons with hyphenated names#47
KirbyRider1337 wants to merge 1 commit intoscoopapa:mainfrom
KirbyRider1337:main

Conversation

@KirbyRider1337
Copy link
Contributor

Simply put they cause infinite recursion (Feed Kommo in -> Replace with Kommo-o -> Hyphen present, feed Kommo in) and as such crash builders for mods. This fix checks to see if we're about to feed the same argument(s) into "get" as earlier and if we are, skips perform the internal "get" call.

Simply put they cause infinite recursion (Feed Kommo in -> Replace with Kommo-o -> Hyphen present, feed Kommo in) and as such crash builders for mods. This fix checks to see if we're about to feed the same argument(s) into "get" as earlier and if we are, does not perform the internal "get" call.
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.

1 participant