Added back all blocks.

This commit is contained in:
Sebastian Hartte
2020-06-04 20:32:17 +02:00
parent 2139b810d0
commit 70444999b9
2 changed files with 85 additions and 84 deletions
@@ -113,7 +113,8 @@ public abstract class AEBaseTileBlock<T extends AEBaseTile> extends AEBaseBlock
}
final TileEntity te = w.getTileEntity( pos );
if( this.tileEntityClass.isInstance( te ) )
// FIXME: This gets called as part of building the block state cache
if( this.tileEntityClass != null && this.tileEntityClass.isInstance( te ) )
{
return this.tileEntityClass.cast(te);
}