Reduced time of day end for beds (lord-server/lord#1410). Closes lord-server/lord#780.

* Reduced min time when you can go to bed
This commit is contained in:
ssdaniel24
2024-06-02 12:44:20 +03:00
committed by GitHub
parent a456005f7e
commit 79a315be80

View File

@@ -1027,8 +1027,10 @@ function minetest.get_objects_in_area(pos1, pos2) end
--- * `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4920-L4921)
---@param val number
function minetest.set_timeofday(val) end
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4922-L4922)
---@return number
function minetest.get_timeofday() end
--- Returns the time, in seconds, since the world was
--- created.