Allow security hand shakes for monitorables.
This commit is contained in:
@@ -3,6 +3,7 @@ package appeng.core.features.registries.entries;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.api.networking.security.BaseActionSource;
|
||||
import appeng.api.storage.IExternalStorageHandler;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
import appeng.api.storage.StorageChannel;
|
||||
@@ -18,7 +19,7 @@ public class ExternalIInv implements IExternalStorageHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public IMEInventory getInventory(TileEntity te, ForgeDirection d, StorageChannel channel)
|
||||
public IMEInventory getInventory(TileEntity te, ForgeDirection d, StorageChannel channel, BaseActionSource src)
|
||||
{
|
||||
if ( channel == StorageChannel.ITEMS && te instanceof IInventory )
|
||||
return new MEMonitorIInventory( (IInventory) te, d );
|
||||
|
||||
Reference in New Issue
Block a user