Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Change IForgeRegistryEntry.setRegistryName to return V, not IForgeRegistryEntry#131

Merged
TheGlitch76 merged 3 commits intomasterfrom
bugfix/iforgeregistryobject
Jul 21, 2020
Merged

Change IForgeRegistryEntry.setRegistryName to return V, not IForgeRegistryEntry#131
TheGlitch76 merged 3 commits intomasterfrom
bugfix/iforgeregistryobject

Conversation

@cittyinthecloud
Copy link
Contributor

This makes the source and the bytecode return value match with Forge, and is required for CoFHCore to load correctly.

@kitlith
Copy link
Contributor

kitlith commented Jul 16, 2020

LGTM once build and checkstyle are fixed.

Would it be possible/sane to implement a version that returns V on top of a version that returns IForgeRegistryEntry?

@TheGlitch76
Copy link
Member

in theory there could be a patchwork$setRegistryName that returns IForgeRegistryEntry but that doesn't mean we should

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants