ide-helper: fix minetest.register_on_respawnplayer() param annotation.

This commit is contained in:
alek13
2025-05-02 21:26:45 +03:00
parent f15d77c976
commit 9e25f0d467

View File

@@ -550,7 +550,7 @@ function minetest.register_on_dieplayer(callback) end
--- * return true in func to disable regular player placement --- * return true in func to disable regular player placement
--- ---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4630-L4633) --- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4630-L4633)
--- @param callback fun(player:ObjectRef) --- @param callback fun(player:ObjectRef):boolean|nil
function minetest.register_on_respawnplayer(callback) end function minetest.register_on_respawnplayer(callback) end
--- * Called when a client connects to the server, prior to authentication --- * Called when a client connects to the server, prior to authentication
--- * If it returns a string, the client is disconnected with that string as --- * If it returns a string, the client is disconnected with that string as