mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #2002 from EverMine/master
Add missing adding to neiShredderRecipes in CompatRecipeRegistry
This commit is contained in:
commit
07618f6a60
@ -422,7 +422,7 @@ public class ShredderRecipes extends SerializableRecipe {
|
|||||||
|
|
||||||
//convert the map only once to save on processing power (might be more ram intensive but that can't be THAT bad, right?)
|
//convert the map only once to save on processing power (might be more ram intensive but that can't be THAT bad, right?)
|
||||||
if(neiShredderRecipes == null)
|
if(neiShredderRecipes == null)
|
||||||
neiShredderRecipes = new HashMap(shredderRecipes);
|
neiShredderRecipes = new HashMap<>(shredderRecipes);
|
||||||
|
|
||||||
return neiShredderRecipes;
|
return neiShredderRecipes;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,6 +59,8 @@ public class CompatRecipeRegistry {
|
|||||||
for(ItemStack allItems : input.extractForNEI()) {
|
for(ItemStack allItems : input.extractForNEI()) {
|
||||||
ComparableStack comp = new ComparableStack(allItems);
|
ComparableStack comp = new ComparableStack(allItems);
|
||||||
ShredderRecipes.shredderRecipes.put(comp, output);
|
ShredderRecipes.shredderRecipes.put(comp, output);
|
||||||
|
if (ShredderRecipes.neiShredderRecipes != null)
|
||||||
|
ShredderRecipes.neiShredderRecipes.put(comp, output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user