Skip to content

Commit

Permalink
Bit Tank item model registration tweak, fixes null delegate issue for #…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Nov 6, 2018
1 parent 0097b88 commit 3c4be46
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/main/java/mod/chiselsandbits/core/ClientSide.java
Expand Up @@ -292,16 +292,7 @@ public void registerItemModels()

if ( ChiselsAndBits.getBlocks().itemBitTank != null )
{
ModelLoader.setCustomMeshDefinition( ChiselsAndBits.getBlocks().itemBitTank, new ItemMeshDefinition() {

@Override
public ModelResourceLocation getModelLocation(
ItemStack stack )
{
return new ModelResourceLocation( new ResourceLocation( modId, "bittank" ), "inventory" );
}

} );
registerMesh( ChiselsAndBits.getBlocks().itemBitTank, 0, new ModelResourceLocation( new ResourceLocation( modId, "bittank" ), "inventory" ) );
}

if ( modItems.itemPositiveprint != null )
Expand Down

0 comments on commit 3c4be46

Please sign in to comment.