LeraRiemann / ProjectInfinity

https://modrinth.com/mod/infinite-dimensions
7 stars 4 forks source link

Fix shaders being reloaded by F5 when no shader should be present #38

Closed cassiancc closed 2 weeks ago

cassiancc commented 1 month ago

In 1.10.8, F5 reloads shaders, even if no shader is currently present (e.g. the overworld). This PR fixes that by double checking if a shader should be active before reloading.