Fix/p2p bind doesn't copy stocking settings (#354)

This commit is contained in:
hiroscho authored and GitHub committed 2025-11-07 20:44:54 +00:00
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) {
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();