Implemented a cache with maximum quad-count it will cache for the cable bus, (#4670)

which also fixes concurrent access to the hashmap.
This commit is contained in:
shartte
2020-09-01 18:20:51 +02:00
committed by GitHub
parent 60b07e5ca5
commit b756d68be1
2 changed files with 21 additions and 12 deletions
@@ -18,7 +18,6 @@ public class CableBusModelLoader implements IModelLoader<CableBusModel> {
@Override
public void onResourceManagerReload(IResourceManager resourceManager) {
CableBusBakedModel.clearCache();
}
@Override