Created
October 4, 2011 12:07
-
-
Save Flow86/1261477 to your computer and use it in GitHub Desktop.
move liquid back to center (if possible) before resetting sides
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 cd91009..0164797 100755 | |
--- a/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java | |
+++ b/buildcraft/common/net/minecraft/src/buildcraft/transport/PipeTransportLiquids.java | |
@@ -501,8 +501,9 @@ public class PipeTransportLiquids extends PipeTransport implements ILiquidContai | |
pos.moveForwards(1); | |
- if (!canReceiveLiquid(pos)) { | |
- side[i].reset (); | |
+ if (!canReceiveLiquid(pos)) { | |
+ center.fill(side[i].qty, true, side[i].liquidId); | |
+ side[i].reset(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment