Fix exception in model removal notification
This commit is contained in:
parent
6c7cd80bb3
commit
90585fbb4f
|
|
@ -106,7 +106,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
|
|||
if(k instanceof ResourceLocation) {
|
||||
rl = (ResourceLocation)k;
|
||||
} else {
|
||||
rl = ((Triple<ResourceLocation, Transformation, Boolean>)k).getLeft();
|
||||
rl = ((ModelBakery.BakedCacheKey)k).id();
|
||||
baked = true;
|
||||
}
|
||||
ModernFix.LOGGER.warn("Evicted {} model {}", baked ? "baked" : "unbaked", rl);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user