Small fix
This commit is contained in:
parent
b05f5a728f
commit
d497f97663
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ public class SimpleReloadableResourceManagerMixin {
|
|||
|
||||
ResourceManager resourceManager = this.namespacedPacks.get(resourceLocation.getNamespace());
|
||||
if (resourceManager != null) {
|
||||
Resource resource = resourceManager.getResource(resourceLocation);
|
||||
if (resource != null) {
|
||||
info.setReturnValue(resource);
|
||||
return;
|
||||
}
|
||||
resourceLocation = BCLib.makeID("materialmaps/block/alpha_emission.json");
|
||||
info.setReturnValue(resourceManager.getResource(resourceLocation));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue