BlakeBr0 / IronJetpacks

Adds fully customizable FE powered jetpacks!
https://blakesmods.com/iron-jetpacks
MIT License
13 stars 21 forks source link

Strange case of briefly vanishing equipment, occasionally causing crashes #38

Closed have-a-boy closed 3 years ago

have-a-boy commented 3 years ago

Describe the bug First things first, I'm playing on the TNP Limitless 3 pack.

Occasionally, seemingly at random, a piece of equipment will vanish from the players equipment slot for a very brief moment, then reappear. This is usually visible in a brief flicker of the armor bar, but causes crashes with equipment other mods, specifically Mekanism, since it doesn't expect a hydrogen powered jetpack to vanish while it's in use and actively consuming fuel. I reported this to the Mekanism GitHub, but the Author told me that it was unlikely for Mekanism to cause this issue and after taking a look at the relevant code, I agree. Even though he has taken steps in future versions to hopefully prevent this kind of manipulation from causing a crash, I feel it's still worth looking into solving the root cause. Chestplates enchanted with Vigor will also experience this issue, causing a short damage animation before refilling the now missing health.

So I started disabling mods one by one until the issue disappeared, following some deductive reasoning after looking at other similar crash reports. IronJetpacks was one of the mods I isolated as potential sources and disabling it (and only it) fixed the crashes for me as well as the flickering armor bar. I've played for weeks now, constantly using the Mekanism jetpack and it hasn't happened since, whereas previously it would happen after maybe 10 minutes of gameplay, sometimes less.

This could still be down to a bad mod interaction, but I'm confident enough to file this bug report that IronJetpacks may be involved. Maybe you have an idea of what could be causing this, thanks in advance.

To Reproduce Steps to reproduce the behavior:

  1. Equip Mekanism hydrogen jetpack
  2. Use the jetpack a lot
  3. Hope for a crash (or watch the armor bar like a hawk)

Versions (please complete the following information):

BlakeBr0 commented 3 years ago

I'm going to close this as it doesn't seem anyone else has had this issue. If this is still an issue you can reply here.