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

Unable to attach wire to redstone connectors after reloading game #74

Open
calloatti opened this issue Sep 9, 2018 · 4 comments
Open

Comments

@calloatti
Copy link

BluSunrize/ImmersiveEngineering#3204

@malte0811
Copy link

@FerroO2000

  1. It would be nice if there was a note somewhere telling people that the code available here does not correspond to the latest release (or anything later than that). I ran it through a decompiler (procyon) to get the latest code (the files are licensed as GNU GPL v3, so that should be fine).
  2. Remove the call to ITWireType#init (ImmersiveTech.java, last line of preInit). It calls WireType#init (because ITWireType#init does not exist) and messes up all IE wire types. Your type should already be initialized in the static initialization code.

@notpeelz
Copy link

notpeelz commented Oct 29, 2019

For anybody who's interested, I manually removed the IWireType#init call by patching the bytecode by hand (I was too lazy to recompile it and don't have a Java/MC dev environment setup): ImmersiveTech.class (replace the corresponding .class file in the ImmersiveTech jar)

Note: this only fixes this specific issue. The rest of the changes in f595219 aren't included.

@malte0811
Copy link

Alternatively you can just update to the latest IE version, it will prevent the call causing issues and log a warning.

@notpeelz
Copy link

Oh good to know. 👍

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

3 participants