Skip to content
Snippets Groups Projects
Commit 4c37d311 authored by Milan's avatar Milan
Browse files

hunger -> hbhunger

parent cdf55e2a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -12,7 +12,7 @@ minetest.register_craftitem("xdecor:bowl_soup", {
stack_max = 1,
on_use = function(itemstack, user)
itemstack:replace("xdecor:bowl 1")
if rawget(_G, "hunger") then
if rawget(_G, "hbhunger") then
minetest.item_eat(20)
else
user:set_hp(20)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment