RandomMcSomethin / fallingleaves

MIT License
43 stars 20 forks source link

textureColor cache does not respect resource pack loading #9

Closed Fourmisain closed 3 years ago

Fourmisain commented 3 years ago

Untested, but the added texture cache might block texture colors from being recomputed after a resource pack was loaded ingame.

If texture changes, this should not be an issue. If it does not, something in getResource() might tell us if there was a change.

Alternatively we can try detecting resource pack loading and clear the cache.

Fourmisain commented 3 years ago

Confirmed and now fixed, will push soon.