Skip to content

Commit

Permalink
Black listing blocks without items, take 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Oct 5, 2016
1 parent fc9e744 commit 1fd5f61
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -225,10 +225,10 @@ public static boolean supportsBlock(

if ( info.isCompatiable && noCustomCollision && info.hardness >= -0.01f && isFullBlock && supportedMaterial && !hasBehavior && itemExistsOrNotSpecialDrops )
{
final boolean result = ChiselsAndBits.getConfig().isEnabled( blkClass.getName() );
final boolean result = hasItem && ChiselsAndBits.getConfig().isEnabled( blkClass.getName() );
supportedBlocks.put( blk, result );

if ( result && hasItem )
if ( result )
{
stateBitInfo.put( state, info );
}
Expand Down

0 comments on commit 1fd5f61

Please sign in to comment.