Minor change, can catch potential errors when the extraction val per tick is insane
This commit is contained in:
parent
4c82462138
commit
264236f98f
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class GT_UndergroundOil {
|
||||||
|
|
||||||
//do stuff on it if needed
|
//do stuff on it if needed
|
||||||
if(drainSpeedCoefficient>=0){
|
if(drainSpeedCoefficient>=0){
|
||||||
if(fluidInChunk.amount<DIVIDER){
|
if(fluidInChunk.amount<DIVIDER || fluidInChunk.amount<uoFluid.DecreasePerOperationAmount){
|
||||||
fluidInChunk=null;
|
fluidInChunk=null;
|
||||||
tInts[GTOIL]=0;//so in next access it will stop way above
|
tInts[GTOIL]=0;//so in next access it will stop way above
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in a new issue