Properly discard caches when reloading models (#278)

* Properly discard caches when reloading models

* Singleton reloading multiple AutoRotatingModels
This commit is contained in:
Rongmario
2023-05-24 11:26:24 +01:00
committed by GitHub
parent b6de4ebf18
commit e2e5eed351
4 changed files with 55 additions and 5 deletions
@@ -45,7 +45,7 @@ import java.util.Map.Entry;
public class CableBusBakedModel implements IBakedModel {
private static final Map<CableBusRenderState, List<BakedQuad>> CABLE_MODEL_CACHE = new HashMap<>();
static final Map<CableBusRenderState, List<BakedQuad>> CABLE_MODEL_CACHE = new HashMap<>();
private final CableBuilder cableBuilder;