Charset Storage - Barrels

Charset Storage - Barrels

429k Downloads

Color Unification CTM Conflict

ChloeDawn opened this issue ยท 1 comments

commented

When the color unification tweak is enabled, it conflicts with CTM, and seems to break texture paths for the CTM texture sprites. This can be produced using the official connected textures pack, looking at stained glass.

Mod version: 0.5.0.145
CTM version: 0.2.3.12

With color unification:

with_color_unification

Without color unification:

without_color_unification

commented
asie | I add in my sprites using .setTextureEntry, but the ASM hook for TextureCollectedEvent only listens to .registerSprite  
asie | therefore, if glass_red is added using setTextureEntry, the TextureCollectedEvent will never fire and the texture for glass_red_ctm will never be registered 
asie | and *thus* the CTM texture will become a missingno 

You're going to have to bill me for dealing with CTM/Chisel's hacks next time. Can'tfix.