Fixes an issue where a custom item model would override the block's default state model.
This commit is contained in:
parent
e1e649caf7
commit
dbaa0a9310
1 changed files with 1 additions and 1 deletions
|
@ -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() )
|
||||
|
|
Loading…
Reference in a new issue