Skip to content

Conversation

@bluebear94
Copy link

@bluebear94 bluebear94 commented Oct 26, 2025

This PR makes ExileRegistryType generic with respect to the type of object being registered and changes code to use generic types more consistently to reduce the number of unchecked casts in the codebase. I wished to avoid breaking API, but this is a lot harder to do than with #4, and some things in the Mine and Slash code are broken anyway, so…

Must be applied concurrently with mahjerion/Mine-And-Slash-Rework#51

@bluebear94
Copy link
Author

bluebear94 commented Oct 26, 2025

Marking this as a draft since all other dependents of LoE are likely to need updates, so I don’t foresee this being accepted for a while. I guess the one saving grace is that it doesn’t break binary compatibility, so we can take our time to update every dependent.

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