mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 09:34:42 +00:00
Fixed crash caused by missing IInventory cast to duality.getStorage() call in onPartActivate(...)
This commit is contained in:
1 parent
c516293195
commit
061a63bef5
1 file changed
+2
-2
@@ -251,8 +251,8 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic<PartFluidP2PInter
|
||||
for (int i = 0; i < upgrades.getSizeInventory(); ++i) {
|
||||
newUpgrade.setInventorySlotContents(i, upgrades.getStackInSlot(i));
|
||||
}
|
||||
IInventory storage = (AppEngInternalInventory) duality.getStorage();
|
||||
IInventory newStorage = (AppEngInternalInventory) newDuality.getStorage();
|
||||
IInventory storage = (IInventory) duality.getStorage();
|
||||
IInventory newStorage = (IInventory) newDuality.getStorage();
|
||||
for (int i = 0; i < storage.getSizeInventory(); ++i) {
|
||||
newStorage.setInventorySlotContents(i, storage.getStackInSlot(i));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user