Add overload for minetest.register_on_generated. close #6

This commit is contained in:
Van
2025-11-26 18:45:54 +03:00
parent 7a707a4562
commit 59c851e7a3

View File

@@ -525,6 +525,7 @@ function minetest.register_on_punchnode(callback) end
--- ---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4586-L4588) --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4586-L4588)
--- @param callback fun(min_pos:Position, max_pos:Position, seed:number) --- @param callback fun(min_pos:Position, max_pos:Position, seed:number)
--- @overload fun(callback:fun(vmanip:VoxelManip, min_pos:Position, max_pos:Position, seed:number))
function minetest.register_on_generated(callback) end function minetest.register_on_generated(callback) end
--- * Called when a new player enters the world for the first time --- * Called when a new player enters the world for the first time
--- ---