[Bug] NativeImage cannot be cast to class customskinloader.fake.itf.IFakeNativeImage when legacy skin is loaded on Forge (but not on Fabric)
Fourmisain opened this issue ยท 1 comments
Describe the bug
This originated from dzwdz/chat_heads#117
Loading a legacy skin crashes on Forge (using ForgeV2_14.21), but not on Fabric, using (Fabric_14.21).
Steps to reproduce
1. In CustomSkinLoader.json, place `LocalSkin` first in `loadlist`
2. Put any legacy skin like https://mskins.net/en/skin/renagabe-w1RoX at LocalSkin\skins\USERNAME.png
3. Load a world and wait for the skin to load - the game crashes instead
Link to crash-report if applicable
Link to CustomSkinLoader.log if applicable
Link to latest.log if applicable
[Only Forge User] Link to Forge Log if applicable
No response
Mod Version
14.21
Minecraft Version
1.20.1
Minecraft Launcher Name and Version
PrismLauncher 9.1
Mod Loader
Forge
Operating System
Windows
Before submitting a bug report
-
This bug wasn't already reported (I have searched bug reports on GitHub).
-
This is a valid bug (I am able to reproduce this on the latest dev build).
-
This problem is triggered in the latest version of the mod (if not the latest please upgrade the mod first)