Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Unexpected error 1.16.4 #62

Closed
chrisvgt opened this issue Nov 25, 2020 · 4 comments
Closed

[Error] Unexpected error 1.16.4 #62

chrisvgt opened this issue Nov 25, 2020 · 4 comments

Comments

@chrisvgt
Copy link

I build your project and tested it with this1.16.4-forge-35.1.0 Forge Version.
After a while i run in that Error net.minecraftforge.fml.common.ObfuscationReflectionHelper$UnableToFindFieldException caused by java.lang.NoSuchFieldException: world.

Does I miss something? Or is this version still in development?

The full crash-log.

@TheGreyGhost
Copy link
Owner

Thanks for that, I'll have a look.

@TheGreyGhost
Copy link
Owner

It works fine for me, however I notice that your crash log has the obfuscated method names in it. I think what is probably happening is related to obfuscation of the field name, i.e. the code is looking for "world" and it finds it fine when I'm running it but in your environment world is called something else such as field_200_a . I'm not yet sure of the reason that it works fine for me but not for you; I'll try a couple of troubleshooting steps and will ask some other experts for advice.

@TheGreyGhost
Copy link
Owner

Fixed now. I should have used the srg name instead of mcp name. I don't know why it worked for me but not for you, ("universal environment"?) but it appears to be ok now. I also added some extra exception handling to make it more robust.

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

No branches or pull requests

2 participants