mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 06:52:58 +00:00
Fixed the check for the petite flower recipe being wrong. Closes #847
This commit is contained in:
1 parent
4ac408dc3e
commit
300148e019
1 file changed
+1
@@ -23,6 +23,7 @@ public class RecipeMiniFlower extends RecipeManaInfusion {
|
||||
@Override
|
||||
public boolean matches(ItemStack stack) {
|
||||
String key = BotaniaAPI.internalHandler.getStackSubTileKey(stack);
|
||||
String input = this.input instanceof String ? (String) this.input : BotaniaAPI.internalHandler.getStackSubTileKey((ItemStack) this.input);
|
||||
return key != null && key.equals(input);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user