Make sure missing model never becomes null
This commit is contained in:
parent
371e5119f1
commit
abb8cbd23f
|
|
@ -123,6 +123,8 @@ public class DynamicBakedModelProvider implements Map<ResourceLocation, BakedMod
|
||||||
// can occur if the MRL is not valid for that blockstate, ignore
|
// can occur if the MRL is not valid for that blockstate, ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(location.getNamespace().equals("minecraft") && location.getPath().equals("builtin/missing"))
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user