mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 18:44:42 +00:00
Brought PartFluidP2PInterface up to date with dependent PR
This commit is contained in:
1 parent
f1324c98d4
commit
778532490f
1 file changed
+3
-3
@@ -231,7 +231,7 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic<PartFluidP2PInter
|
||||
AppEngInternalInventory patterns = (AppEngInternalInventory) this.duality.getPatterns();
|
||||
AppEngInternalInventory storageAppEng = this.duality.getStorage();
|
||||
|
||||
if (super.onPartActivate(p, pos)) {
|
||||
if (super.onPartActivate(player, pos)) {
|
||||
ArrayList<ItemStack> drops = new ArrayList<>();
|
||||
for (int i = 0; i < patterns.getSizeInventory(); i++) {
|
||||
if (patterns.getStackInSlot(i) == null) continue;
|
||||
@@ -360,7 +360,7 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic<PartFluidP2PInter
|
||||
duality.updateCraftingList();
|
||||
|
||||
if (isOutput()) {
|
||||
PartP2PInterface input = getInput();
|
||||
PartFluidP2PInterface input = getInput();
|
||||
if (input == null) {
|
||||
duality.updateStorage();
|
||||
}
|
||||
@@ -386,7 +386,7 @@ public class PartFluidP2PInterface extends PartP2PTunnelStatic<PartFluidP2PInter
|
||||
@Override
|
||||
public ItemStack getStackInSlot(final int i) {
|
||||
if (isOutput()) {
|
||||
PartP2PInterface input = getInput();
|
||||
PartFluidP2PInterface input = getInput();
|
||||
if (input != null) return input.getStackInSlot(i);
|
||||
return duality.getStorage().getStackInSlot(i);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user