Describe the bug
ModelGapFix hooks in to one of the methods in TextureAtlasSprite to perform its function. It does a check for which texture atlas the sprite is using to know whether to apply its fixes, however we don't use a texture atlas on our ModelSprites, so it throws UnsupportedOperationException.
To Reproduce
Steps to reproduce the behavior:
Download Cosmetica 1.2.2 and Model Gap Fix
Launch the game with both of them
Get the game to render a cosmetica player (for example: by opening the cosmetica gui)
Game crashes
Expected behavior
A clear and concise description of what you expected to happen.
Dont crash
Screenshots
(see crash log from RaptaG in the discord)
Setup (please complete the following information):
OS: yes
Minecraft Version 1.19.3, but affects all
Version 1.2.2
Additional context
Fixed in development builds already by pretending to use the block atlas (will still crash when launched in a dev env as the original behaviour is useful for debug). This issue tracks it.
Describe the bug ModelGapFix hooks in to one of the methods in
TextureAtlasSprite
to perform its function. It does a check for which texture atlas the sprite is using to know whether to apply its fixes, however we don't use a texture atlas on ourModelSprite
s, so it throws UnsupportedOperationException.To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Dont crash
Screenshots (see crash log from RaptaG in the discord)
Setup (please complete the following information):
Additional context Fixed in development builds already by pretending to use the block atlas (will still crash when launched in a dev env as the original behaviour is useful for debug). This issue tracks it.