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

Minor hotfix + more cleanup for PowerConduitEndergy #122

Merged

Conversation

Pilzinsel64
Copy link

@Pilzinsel64 Pilzinsel64 commented May 9, 2023

It doesn't break current saves completely (just doesn't load correctly - when loading with this fix, every coduit has its subtype as before) but I missed a overwrite for readFromNBT to get the subtype also in our child class. I now moved the subtype completely to super class that we don't need to store the subtype twice.
Also I moved the code from initIcons to a protected method as suggested by @OneEyeMaker.

@Pilzinsel64 Pilzinsel64 requested review from a team May 9, 2023 05:32
@Dream-Master Dream-Master merged commit 63cbe6e into GTNewHorizons:master May 9, 2023
2 checks passed
@Pilzinsel64 Pilzinsel64 deleted the hotfix-power-conduit-endergy branch May 9, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants