Fixes shapeless recipes unreliability.

This commit is contained in:
Gunging 2021-09-23 20:55:10 -05:00
parent a42f382d36
commit 7a69f3b1ff
2 changed files with 6 additions and 1 deletions

View File

@ -369,7 +369,7 @@ public class MMOItemReforger {
*
* @param options Additional options to pass onto the modules.
*
* @return If reforged successfully ~ <code>true</code> unless cancelled.
* @return If reforged successfully. Basically <code>true</code>, unless cancelled.
*/
public boolean reforge(@NotNull ReforgeOptions options) {
//RFG//MMOItems.log("§8Reforge §4RFG§7 Reforging " + SilentNumbers.getItemName(getStack()));

View File

@ -63,6 +63,11 @@ public class RMGRR_Shapeless implements RecipeRegistry {
// Add
ProvidedUIFilter p = RecipeMakerGUI.readIngredientFrom(str, ffp);
// Not air right
if (p.isAir()) { continue; }
// Ok snooze
nonAirFound = true;
poofs.add(new MythicRecipeIngredient(p));
}