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

Update EntityLocomotiveSteamMagic.java #47

Merged
merged 1 commit into from Jul 31, 2023

Conversation

GregoriusT
Copy link

@GregoriusT GregoriusT commented Jul 28, 2023

Fixed Thaumcraft dependency, which I did not notice before.

I used the Github Editor this time because nothing I did helped my ability to push to my own motherfucking fork... I did pulls, i did force pulls, I did rebases, i did hard resets, and I still cant commit and push to my own damn fork on github...

Fixed Thaumcraft dependency
@GregoriusT
Copy link
Author

GregoriusT commented Jul 28, 2023

Okay something is severely broken with this PR if the build and test task fails at this point...

I did test the whole thing and it worked, so I guess the test task uses my entire fork instead of this one commit against the main project. Unless there is an easy way to fix this whole Issue I have with my stupid fork, I will not touch this again...

@Dream-Master Dream-Master requested review from miozune and a team July 28, 2023 19:14
Copy link
Member

@serenibyss serenibyss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving since I can confirm that this fixes the Thaumcraft dep issue.

I'm not sure why the CI task is failing, but it is not failing for me locally either so I agree that its likely something strange with the fork or an unrelated issue

@Glease
Copy link

Glease commented Jul 29, 2023

CI failed because a village generated at spawn with a rolling machine (out of sheer luck). rolling machine ask for a RF thing to store power, which is stripped due to RF API somehow not present on classpath.

@GregoriusT
Copy link
Author

Wait that means my PREVIOUS PR had Issues because I made that replacement function for the EnergyStorage @optional without making sure there is a fallback...

I hate how you can call functions behind an if statement just fine, but as soon as a constructor merely exists that is when the classloader will screw you over...

Anyways, it does not have anything to do with this PR luckily...

So, to fix that EnergyStorage thing, the function cant be @optional but the Constructor must be called inside of an @optional Method or else the ClassLoader will crash. Guess there needs to be another layer, this time with a trycatch for NoSuchMethodError.

@Dream-Master
Copy link
Member

can we add cofh as dependencie or just only for compiling ?

@GregoriusT
Copy link
Author

CoFH is only a compile time dependency with this, railcraft can now startup MC all alone by itself once it is merged.

The EnergyStorage Class thing is unrelated to this, it was just a coincidence that it got missed in a PREVIOUS pull request. ;)

@Dream-Master Dream-Master merged commit 0e4833a into GTNewHorizons:master Jul 31, 2023
1 check passed
@Dream-Master
Copy link
Member

CoFH is only a compile time dependency with this, railcraft can now startup MC all alone by itself once it is merged.

The EnergyStorage Class thing is unrelated to this, it was just a coincidence that it got missed in a PREVIOUS pull request. ;)

i re run action script and it wnet through. so lets merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants