Fixed Imp. Compressor Dynamite amount possibly becoming zero
This commit is contained in:
parent
87db8ee099
commit
a739167c7f
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ public class GT_RecipeAdder
|
||||||
}
|
}
|
||||||
int tExplosives = aInput2 > 0 ? aInput2 < 64 ? aInput2 : 64 : 1;
|
int tExplosives = aInput2 > 0 ? aInput2 < 64 ? aInput2 : 64 : 1;
|
||||||
int tGunpowder = tExplosives * 2;
|
int tGunpowder = tExplosives * 2;
|
||||||
int tDynamite = tExplosives/2;
|
int tDynamite = Math.max(1, tExplosives / 2);
|
||||||
int tTNT = Math.max(1, tExplosives/2);
|
int tTNT = Math.max(1, tExplosives/2);
|
||||||
int tITNT = Math.max(1, tExplosives/4);
|
int tITNT = Math.max(1, tExplosives/4);
|
||||||
//new GT_Recipe(aInput1, aInput2, aOutput1, aOutput2);
|
//new GT_Recipe(aInput1, aInput2, aOutput1, aOutput2);
|
||||||
|
|
Loading…
Reference in a new issue