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

Technically incorrect class load order #26

Open
coderbot16 opened this issue Jan 26, 2020 · 0 comments
Open

Technically incorrect class load order #26

coderbot16 opened this issue Jan 26, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@coderbot16
Copy link
Member

SubscribeEvent handlers and ObjectHolder handlers should be registered in the static initializer of the relevant class file. Otherwise we could be loading classes way too early! I haven't found any mods that this causes failure with however.

@coderbot16 coderbot16 added the bug Something isn't working label Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant