mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-28 07:35:40 +00:00
Fix/p2p bind doesn't copy stocking settings (#354)
This commit is contained in:
1 parent
2a2f22ce44
commit
3bb08974ce
1 file changed
+6
@@ -401,6 +401,12 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic<PartFluidP2PInter
|
|||||||
for (int i = 0; i < storage.getSizeInventory(); ++i) {
|
for (int i = 0; i < storage.getSizeInventory(); ++i) {
|
||||||
newStorage.setInventorySlotContents(i, storage.getStackInSlot(i));
|
newStorage.setInventorySlotContents(i, storage.getStackInSlot(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IInventory config = fromInterface.duality.getInventoryByName("config");
|
||||||
|
IInventory newConfig = newDuality.getInventoryByName("config");
|
||||||
|
for (int i = 0; i < config.getSizeInventory(); ++i) {
|
||||||
|
newConfig.setInventorySlotContents(i, config.getStackInSlot(i));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AppEngInternalInventory patterns = fromInterface.duality.getPatterns();
|
AppEngInternalInventory patterns = fromInterface.duality.getPatterns();
|
||||||
|
|||||||
Reference in new issue
Block a user