MerchantPug / apugli

An extension to Apoli for certain mods' use.
MIT License
5 stars 4 forks source link

`apugli:edible_item` consumes 2 items on some weird conditions #12

Closed JustCyra closed 2 years ago

JustCyra commented 2 years ago

As title suggests, with the following power the amount of items consumed is 2 for some reason:

{
        "type": "apugli:edible_item",
        "item_condition": {
            "type": "apoli:food"
        },
        "food_component": {
            "hunger": 0,
            "saturation": 0
        },
        "use_action": "eat"
}
MerchantPug commented 2 years ago

Bug confirmed, trying to fix it now.

MerchantPug commented 2 years ago

Fixed on my end. I'm unsure how the new changes will co-operate with the Modify Food power but you can report any other bugs to me.

Will be released in Apugli v1.8.0