Fixes an issue where a custom item model would override the block's default state model.
This commit is contained in:
@@ -104,10 +104,10 @@ class ItemRendering implements IItemRendering
|
||||
else
|
||||
{
|
||||
model = new ModelResourceLocation( item.getRegistryName(), "inventory" );
|
||||
resources.add( model );
|
||||
}
|
||||
|
||||
factory.addBootstrapComponent( new ItemModelComponent( item, ImmutableMap.of( 0, model ) ) );
|
||||
resources.add( model );
|
||||
}
|
||||
|
||||
if( !resources.isEmpty() )
|
||||
|
||||
Reference in New Issue
Block a user