Update 1.6.1
parent
5a8e3bef32
commit
f3d63289d4
|
@ -304,3 +304,5 @@ Alpha 1.6.1:
|
|||
Crash caused by Dew Vial
|
||||
Crash caused by loading the game when a player is already inflicted with a buff of some kind
|
||||
Buff-related particles being offset weirdly when attached to players
|
||||
Crash caused by trying to start the game with damage disabled.
|
||||
|
||||
|
|
|
@ -34,7 +34,10 @@ local function register_food(name, def)
|
|||
end
|
||||
|
||||
minetest.register_craftitem("voxeldungeon:"..name, def)
|
||||
hbhunger.register_food("voxeldungeon:"..name, def.foodval)
|
||||
|
||||
if minetest.settings:get_bool("enable_damage") then
|
||||
hbhunger.register_food("voxeldungeon:"..name, def.foodval)
|
||||
end
|
||||
end
|
||||
|
||||
register_food("ration", {description = "Ration of Food\n \nNothing fancy here: dried meat, some biscuits - things like that.", foodval = 8})
|
||||
|
|
Loading…
Reference in New Issue