Jump to content

ASM transformed class not behaving


Recommended Posts

Recently I've been annoyed by portals in the overworld creating portals in the nether that could not under any circumstances lead back to them. I fixed it with a base-class edit, but that doesn't have the clean distribution coremods allow, so based on some examples, I made it into a coremod. I change a variable definition from a constant to a call to my mod's function. The function is properly called, but the constant from vanilla is still used (I checked by adding a print statement to the class, and it doesn't match what my function returns.)

Source code:


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...