mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-22 09:31:20 +01:00
Fixes shapeless recipes unreliability.
This commit is contained in:
parent
a42f382d36
commit
7a69f3b1ff
@ -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()));
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user