6.4.13
This commit is contained in:
parent
28bb9639e1
commit
4a72ddc20f
|
@ -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]
|
||||
|
||||
|
|
3
buildcraft_resources/changelog/6.4.13
Normal file
3
buildcraft_resources/changelog/6.4.13
Normal file
|
@ -0,0 +1,3 @@
|
|||
Bugs fixed:
|
||||
|
||||
* Emerald fluid pipe stopping to work randomly (asie)
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue