mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Add missing adding to neiShredderRecipes in CompatRecipeRegistry
This commit is contained in:
parent
3ac7a8cdd6
commit
291a34103a
@ -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?)
|
||||
if(neiShredderRecipes == null)
|
||||
neiShredderRecipes = new HashMap(shredderRecipes);
|
||||
neiShredderRecipes = new HashMap<>(shredderRecipes);
|
||||
|
||||
return neiShredderRecipes;
|
||||
}
|
||||
|
||||
@ -59,6 +59,7 @@ public class CompatRecipeRegistry {
|
||||
for(ItemStack allItems : input.extractForNEI()) {
|
||||
ComparableStack comp = new ComparableStack(allItems);
|
||||
ShredderRecipes.shredderRecipes.put(comp, output);
|
||||
ShredderRecipes.neiShredderRecipes.put(comp, output);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user