mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-12 16:37:38 +00:00
loadIcons runs in TextureStitchEvent.Post and could cache icons before other mods finished theirs in the same event (Chisel CTMLib -v4 submaps), leaving microblocks with missing or previous-stitch textures. loadIcons now marks icons stale; the first icont() read after a stitch rebuilds them once. Icons set through icont_$eq are kept. Addon materials reading icont() get the fix without API changes. Fixes GTNH issue 27183 without relying on handler priority (upstream #63).