diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-27 22:30:15 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-27 22:30:15 +1000 |
commit | b5d8a36adf5b886f681574338586b04e30cf55d6 (patch) | |
tree | 2cdf1f6366b807e790eb9e4a9a06081006d3f7dc /src/Java/gregtech/api | |
parent | 64fd0818f6d9351166593f1d14152812c45aa80a (diff) | |
download | GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.tar.gz GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.tar.bz2 GT5-Unofficial-b5d8a36adf5b886f681574338586b04e30cf55d6.zip |
$ Tried to fix console spam for invalid tooltip handling.
$ Fixed NEI handler not showing % chances for recipes. (maybe?)
$ Fixed Trinium not working correctly in GTNH.
$ Fixed invalid cape lookups.
% Tweaked recipe for Max tier Redox cells.
% Tweaked name of Control Circuit.
Diffstat (limited to 'src/Java/gregtech/api')
-rw-r--r-- | src/Java/gregtech/api/util/Recipe_GT.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gregtech/api/util/Recipe_GT.java b/src/Java/gregtech/api/util/Recipe_GT.java index 4cee30a44a..c06b609391 100644 --- a/src/Java/gregtech/api/util/Recipe_GT.java +++ b/src/Java/gregtech/api/util/Recipe_GT.java @@ -993,7 +993,7 @@ public class Recipe_GT extends GT_Recipe implements IComparableRecipe{ if (mColumn <= 2 && mRow <= 3) outputStacks.add( (PositionedStack) new GT_NEI_MultiBlockHandler.FixedPositionedStack( - (Object) mNEIMap.get(i), xPos[mColumn++], yPos[mRow])); + (Object) mNEIMap.get(i), xPos[mColumn++], yPos[mRow], ((this.mChances.length-1) >= i ? this.mChances[i] : 10000))); } return outputStacks; } @@ -1160,7 +1160,7 @@ public class Recipe_GT extends GT_Recipe implements IComparableRecipe{ if (mColumn <= 2 && mRow <= 3) outputStacks.add( (PositionedStack) new GT_NEI_MultiBlockHandler.FixedPositionedStack( - (Object) mNEIMap.get(i), xPos[mColumn++], yPos[mRow])); + (Object) mNEIMap.get(i), xPos[mColumn++], yPos[mRow], ((this.mChances.length-1) >= i ? this.mChances[i] : 10000))); } return outputStacks; } @@ -1310,12 +1310,12 @@ public class Recipe_GT extends GT_Recipe implements IComparableRecipe{ for (int i = 0; i < itemLimit; ++i) { if (this.mOutputs[i] != null) outputStacks.add((PositionedStack) new GT_NEI_MultiBlockHandler.FixedPositionedStack( - (Object) this.mOutputs[i].copy(), 102 + i * 18, 5)); + (Object) this.mOutputs[i].copy(), 102 + i * 18, 5, ((this.mChances.length-1) >= i ? this.mChances[i] : 10000))); } for (int i = 0; i < fluidLimit; ++i) { if (this.mFluidOutputs[i] != null) outputStacks.add((PositionedStack) new GT_NEI_MultiBlockHandler.FixedPositionedStack( - (Object) GT_Utility.getFluidDisplayStack(this.mFluidOutputs[i], true), 102 + i * 18, 23)); + (Object) GT_Utility.getFluidDisplayStack(this.mFluidOutputs[i], true), 102 + i * 18, 23, ((this.mChances.length-1) >= i ? this.mChances[i] : 10000))); } return outputStacks; } |