mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-13 06:10:17 +01:00
Fix eat
trigger to actually notify awards on item eat.
This commit is contained in:
parent
8a34ea8055
commit
9d98f950b8
|
@ -137,5 +137,5 @@ minetest.register_on_item_eat(function(_, _, itemstack, player, _)
|
|||
|
||||
local itemname = itemstack:get_name()
|
||||
itemname = minetest.registered_aliases[itemname] or itemname
|
||||
awards.notify_craft(player, itemname, itemstack:get_count())
|
||||
awards.notify_eat(player, itemname, itemstack:get_count())
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue
Block a user