mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-22 15:23:44 +01:00
Fix eat trigger
This commit is contained in:
parent
589837e2f1
commit
6530688049
@ -137,5 +137,5 @@ minetest.register_on_item_eat(function(_, _, itemstack, player, _)
|
|||||||
|
|
||||||
local itemname = itemstack:get_name()
|
local itemname = itemstack:get_name()
|
||||||
itemname = minetest.registered_aliases[itemname] or itemname
|
itemname = minetest.registered_aliases[itemname] or itemname
|
||||||
awards.notify_craft(player, itemname, itemstack:get_count())
|
awards.notify_eat(player, itemname)
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user