mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-20 03:59:40 +00:00
fix last orb not showing up
This commit is contained in:
1 parent
c14e5be86e
commit
f22694cadc
1 file changed
+2
-2
@@ -46,7 +46,7 @@ public class NEIAlchemyRecipeHandler extends TemplateRecipeHandler {
|
||||
this.output = new PositionedStack(recipe.getResult(), 76, 25);
|
||||
this.lp = recipe.getAmountNeeded() * 100;
|
||||
this.orbs = new ArrayList<BloodOrbs>();
|
||||
for(int i = recipe.getOrbLevel(); i < bloodOrbs.size(); i++) {
|
||||
for(int i = recipe.getOrbLevel(); i <= bloodOrbs.size(); i++) {
|
||||
ItemStack orb = new ItemStack(bloodOrbs.get(i - 1));
|
||||
orbs.add(new BloodOrbs(orb));
|
||||
}
|
||||
@@ -89,7 +89,7 @@ public class NEIAlchemyRecipeHandler extends TemplateRecipeHandler {
|
||||
}
|
||||
|
||||
ArrayList<ItemStack> orbs = new ArrayList<ItemStack>();
|
||||
for(int i = recipe.getOrbLevel(); i < bloodOrbs.size(); i++) {
|
||||
for(int i = recipe.getOrbLevel(); i <= bloodOrbs.size(); i++) {
|
||||
ItemStack orb = new ItemStack(bloodOrbs.get(i - 1));
|
||||
if(NEIServerUtils.areStacksSameTypeCrafting(orb, ingredient)) {
|
||||
arecipes.add(new CachedAlchemyRecipe(recipe));
|
||||
|
||||
Reference in new issue
Block a user