Fixes #1666 Missing check for the memory card
This commit is contained in:
parent
ca97a7a5e3
commit
accfc1221f
|
@ -48,6 +48,7 @@ import appeng.api.implementations.items.MemoryCardMessages;
|
|||
import appeng.api.implementations.tiles.IColorableTile;
|
||||
import appeng.api.util.AEColor;
|
||||
import appeng.api.util.IOrientable;
|
||||
import appeng.block.networking.BlockCableBus;
|
||||
import appeng.core.features.AEFeature;
|
||||
import appeng.core.features.AETileBlockFeatureHandler;
|
||||
import appeng.core.features.IAEFeature;
|
||||
|
@ -323,7 +324,7 @@ public abstract class AEBaseTileBlock extends AEBaseBlock implements IAEFeature,
|
|||
return false;
|
||||
}
|
||||
|
||||
if( is.getItem() instanceof IMemoryCard )
|
||||
if( is.getItem() instanceof IMemoryCard && !( this instanceof BlockCableBus ) )
|
||||
{
|
||||
final IMemoryCard memoryCard = (IMemoryCard) is.getItem();
|
||||
if( player.isSneaking() )
|
||||
|
|
Loading…
Reference in New Issue