parent
aa5fbb2980
commit
56d8a5d585
|
@ -442,7 +442,7 @@ private synchronized void unmountDisk( IComputerAccess computer )
|
|||
|
||||
private void updateBlockState()
|
||||
{
|
||||
if( remove ) return;
|
||||
if( remove || level == null ) return;
|
||||
|
||||
if( !diskStack.isEmpty() )
|
||||
{
|
||||
|
|
|
@ -438,7 +438,7 @@ private void updateBlockState()
|
|||
|
||||
private void updateBlockState( boolean top, boolean bottom )
|
||||
{
|
||||
if( remove ) return;
|
||||
if( remove || level == null ) return;
|
||||
|
||||
BlockState state = getBlockState();
|
||||
if( state.getValue( BlockPrinter.TOP ) == top & state.getValue( BlockPrinter.BOTTOM ) == bottom ) return;
|
||||
|
|
Loading…
Reference in New Issue