
`apugli:edible_item` doesn't consume items when finished "eating" if `apoli:modify_food` is on the entity
JustCyra opened this issue ยท 1 comments
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!"
}
}
}