mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 22:14:42 +00:00
Merge fixes from 1.6.4
- Capacitor Banks remember their IO limits when block are added/removed. (William Lahti) - #627 Insert mode on Conduit stops transfer (William Lahti) - #638 Capacitor Banks charging slots filling with junk (William Lahti)
This commit is contained in:
1 parent
3fd0d7b181
commit
5b40f27c58
3 files changed
+14
No files matched your search
@@ -169,6 +169,12 @@ public class PowerConduit extends AbstractConduit implements IPowerConduit {
|
||||
return PowerHandlerUtil.createHandler(CAPACITORS[subtype], this, Type.PIPE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setConnectionMode(ForgeDirection dir, ConnectionMode mode) {
|
||||
super.setConnectionMode(dir, mode);
|
||||
recievedTicks = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExtractionRedstoneMode(RedstoneControlMode mode, ForgeDirection dir) {
|
||||
rsModes.put(dir, mode);
|
||||
|
||||
@@ -119,6 +119,9 @@ public class ItemUtil {
|
||||
toInsert.stackSize = 0;
|
||||
}
|
||||
}
|
||||
if (!inv.isItemValidForSlot(slot, toInsert)) {
|
||||
inserted = 0;
|
||||
}
|
||||
|
||||
if(inserted > 0) {
|
||||
numInserted += inserted;
|
||||
|
||||
Reference in new issue
Block a user