mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-08 21:14:41 -04:00
Fix ModelProvider.ItemAssets generating duplicate models.
This commit is contained in:
parent
105e1a95fc
commit
8eedec2580
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class ModelProviderItemAssetsMixin implements FabricModelProviderDefiniti
|
|||
if (fabricDataOutput != null) {
|
||||
// Only generate the item model if the block state json was registered
|
||||
if (ITEM_ASSETS.containsKey(blockItem)) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!Registries.ITEM.getId(blockItem).getNamespace().equals(fabricDataOutput.getModId())) {
|
||||
|
|
Loading…
Add table
Reference in a new issue