Only prefill block suppliers
This commit is contained in:
parent
0062bc9bae
commit
933f495d64
|
|
@ -25,7 +25,7 @@ public class EventDispatcherMixin {
|
||||||
if(registry == null)
|
if(registry == null)
|
||||||
return;
|
return;
|
||||||
ResourceLocation location = registry.getRegistryName();
|
ResourceLocation location = registry.getRegistryName();
|
||||||
if(location == null)
|
if(location == null || !(location.getNamespace().equals("minecraft") && location.getPath().equals("block")))
|
||||||
return;
|
return;
|
||||||
if(!hasRegistryBaked.getOrDefault(location, false)) {
|
if(!hasRegistryBaked.getOrDefault(location, false)) {
|
||||||
DeferredRegisterBaker.bakeSuppliers(location);
|
DeferredRegisterBaker.bakeSuppliers(location);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user