iPortalTeam/ImmersivePortalsModForForge

Cannot uninstall

Closed this issue · 5 comments

According to your testing, does the issue occur with ONLY Immersive Portals mod installed?

Yes

Forge Version

44.1.23

ImmersivePortals Version

2.5.4-mc1.19.3

Latest Log

https://gist.github.com/GenDutchman/65ba96cd87b4ff8ba586f02e66b58b7f#file-debug-3-log

Crash Report (if applicable)

No response

Steps to Reproduce

Installed the mod,
Didn’t work with optifine
Removed mod from mod pack
Server didn’t start up
Removed config and dimension
Server didn’t start up

What You Expected

I thought the server was going to go back and start up like it has done with other removing mods

What Happened Instead

The issue that happened is described in the file link hopefully

Additional Details

No response

Please Read and Confirm The Following

  • I have confirmed this bug can be replicated without the use of Optifine.
  • I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
  • I have confirmed this does not happen on the fabric version (If it does please report to here instead).
  • I have confirmed I'm not using a hybrid server (Magma, Cauldron) or a different (non official) Forge Server release.
  • I have confirmed this issue is unique and has not been reported already.

MC saves dimension config in level.dat and it cannot be deserialized after uninstalling the mod. As far as I know Forge already solves this issue. Seems that the Forge's fix is broken? If the Forge's fix is broken, uninstalling other dimension mods could also lead to the same result. This is maybe a Forge's issue.

The quick solution is to create a new world with the same seed and configuration, then use the new world's level.dat to replace the broken world's level.dat (don't forge to backup the original level.dat).

So, backup the world to begin with, create a new world with the same seed, copy the level.dat and replace the broken world’s level.dat with the new one.

Would it be better if I copied the level.dat from a previous save?

MC saves dimension config in level.dat and it cannot be deserialized after uninstalling the mod. As far as I know Forge already solves this issue. Seems that the Forge's fix is broken? If the Forge's fix is broken, uninstalling other dimension mods could also lead to the same result. This is maybe a Forge's issue.

The quick solution is to create a new world with the same seed and configuration, then use the new world's level.dat to replace the broken world's level.dat (don't forge to backup the original level.dat).

Could I also just use NBT Explorer and delete the dimensions from immersive portals?

This is also for a server, and I can’t see player data in the level.dat NBT, I was looking around and saw some stuff that said level.dat stores player data in single player, but nothing about it storing player data on server level.dat.

Ok Ok, I’ve tested it, using NBT Explored I removed the dimensions in the level.dat file, (I backed it all up first) then I removed the mods, the dimensions in the world save, the configs.
All is working now, thanks heaps for the help