Clear the cable bus model cache when the resource pack is reloaded (otherwise we might return stale models with incorrect texture sprite coordinates).

This commit is contained in:
Sebastian Hartte
2020-06-16 17:34:56 +02:00
parent 27c5498935
commit a005f1c2e8
3 changed files with 34 additions and 2 deletions
@@ -363,4 +363,9 @@ public class CableBusBakedModel implements IBakedModel
{
return ItemOverrideList.EMPTY;
}
public static void clearCache() {
CABLE_MODEL_CACHE.clear();
}
}