Skip to content

Commit

Permalink
Fix ModelProvider.ItemAssets generating duplicate models.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Nov 18, 2024
1 parent 105e1a9 commit 8eedec2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private boolean filterItemsForProcessingMod(Map<Item, ItemAsset> map, Object o,
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())) {
Expand Down

0 comments on commit 8eedec2

Please sign in to comment.