mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-03-22 19:36:59 +00:00
parent
aa5fbb2980
commit
56d8a5d585
@ -442,7 +442,7 @@ public final class TileDiskDrive extends TileGeneric implements DefaultInventory
|
||||
|
||||
private void updateBlockState()
|
||||
{
|
||||
if( remove ) return;
|
||||
if( remove || level == null ) return;
|
||||
|
||||
if( !diskStack.isEmpty() )
|
||||
{
|
||||
|
@ -438,7 +438,7 @@ public final class TilePrinter extends TileGeneric implements DefaultSidedInvent
|
||||
|
||||
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…
x
Reference in New Issue
Block a user