Apugli

Apugli

413k Downloads

`apugli:edible_item` doesn't consume items when finished "eating" if `apoli:modify_food` is on the entity

JustCyra opened this issue ยท 1 comments

commented

This power when consumed only executes entity_action but doesn't actually remove the specified item if the power holder has apoli:modify_food power type already.
Example Power:

{
    "type": "apoli:multiple",
    "breaker": {
        "type": "apoli:modify_food"
    },
    "eat": {
        "type": "apugli:edible_item",
        "item_condition": {
            "type": "origins:ingredient",
            "ingredient": {
                "item": "minecraft:stick"
            }
        },
        "food_component": {
            "hunger": 1,
            "saturation": 0.5,
            "meat": false,
            "always_edible": true,
            "snack": true
        },
        "use_action": "eat",
        "entity_action": {
            "type": "origins:execute_command",
            "command": "say HMMM reusable food source!"
        }
    }
}
commented

To quote myself in your other issue.

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