Skip to content

Commit

Permalink
Ignore states whose blocks do not match the source block. ( WTF? )
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Oct 14, 2016
1 parent 8314ffb commit 563173d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ private static void updateCacheClient()

final int id = blockId | meta << 12;
final IBlockState state = Block.getStateById( id );
if ( state == null )
if ( state == null || state.getBlock() != block )
{
// reverse mapping is broken, so just skip over this state.
continue;
Expand Down

0 comments on commit 563173d

Please sign in to comment.