you can't extract from write only, not read only
This commit is contained in:
@@ -582,7 +582,7 @@ public class TileController extends TileBase implements INetworkMaster, IEnergyR
|
|||||||
for (IItemStorage storage : this.itemStorage.getStorages()) {
|
for (IItemStorage storage : this.itemStorage.getStorages()) {
|
||||||
ItemStack took = null;
|
ItemStack took = null;
|
||||||
|
|
||||||
if (storage.getAccessType() != AccessType.READ) {
|
if (storage.getAccessType() != AccessType.WRITE) {
|
||||||
took = storage.extractItem(stack, requested - received, flags);
|
took = storage.extractItem(stack, requested - received, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user