This commit is contained in:
asiekierka 2015-04-22 18:51:12 +02:00
parent 28bb9639e1
commit 4a72ddc20f
4 changed files with 10 additions and 3 deletions

View file

@ -22,7 +22,7 @@ apply plugin: 'forge' // adds the forge dependency
apply plugin: 'maven' // for uploading to a maven repo
apply plugin: 'checkstyle'
version = "6.4.12"
version = "6.4.13"
group= "com.mod-buildcraft"
archivesBaseName = "buildcraft" // the name that all artifacts will use as a base. artifacts names follow this pattern: [baseName]-[appendix]-[version]-[classifier].[extension]

View file

@ -0,0 +1,3 @@
Bugs fixed:
* Emerald fluid pipe stopping to work randomly (asie)

View file

@ -1,3 +1,3 @@
1.6.4:BuildCraft:4.2.2
1.7.2:BuildCraft:6.0.16
1.7.10:BuildCraft:6.4.12
1.7.10:BuildCraft:6.4.13

View file

@ -86,7 +86,7 @@ public class PipeFluidsWood extends Pipe<PipeTransportFluids> implements IEnergy
public void updateEntity() {
super.updateEntity();
if (liquidToExtract == 0) {
if (liquidToExtract <= 0) {
return;
}
@ -99,6 +99,10 @@ public class PipeFluidsWood extends Pipe<PipeTransportFluids> implements IEnergy
// We always subtract the flowRate to ensure that the buffer goes down reasonably quickly.
liquidToExtract -= transport.flowRate;
if (liquidToExtract < 0) {
liquidToExtract = 0;
}
}
}