Minor change, can catch potential errors when the extraction val per tick is insane

This commit is contained in:
Technus 2017-09-13 19:49:05 +02:00
parent 4c82462138
commit 264236f98f

View file

@ -72,7 +72,7 @@ public class GT_UndergroundOil {
//do stuff on it if needed
if(drainSpeedCoefficient>=0){
if(fluidInChunk.amount<DIVIDER){
if(fluidInChunk.amount<DIVIDER || fluidInChunk.amount<uoFluid.DecreasePerOperationAmount){
fluidInChunk=null;
tInts[GTOIL]=0;//so in next access it will stop way above
}else{