Created
October 4, 2011 12:29
-
-
Save Flow86/1261516 to your computer and use it in GitHub Desktop.
fixes liquid loss on block-neighbor update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java b/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java | |
index 0164797..7d6250b 100755 | |
--- a/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java | |
+++ b/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java | |
@@ -501,8 +501,8 @@ public class PipeTransportLiquids extends PipeTransport implements ILiquidContai | |
pos.moveForwards(1); | |
- if (!canReceiveLiquid(pos)) { | |
+ if (!Utils.checkPipesConnections(worldObj, (int) pos.x, (int) pos.y, | |
+ (int) pos.z, xCoord, yCoord, zCoord)) { | |
side[i].reset(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment