mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace occurrence of luaL_reg in l_localplayer (#5566)
Related to commit 41c5483
. Replace a final occurrence of luaL_reg in
src/script/lua_api/l_localplayer.cpp
This commit is contained in:
parent
59911761ef
commit
a3e7372686
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ void LuaLocalPlayer::Register(lua_State *L)
|
|||
}
|
||||
|
||||
const char LuaLocalPlayer::className[] = "LocalPlayer";
|
||||
const luaL_reg LuaLocalPlayer::methods[] = {
|
||||
const luaL_Reg LuaLocalPlayer::methods[] = {
|
||||
luamethod(LuaLocalPlayer, get_velocity),
|
||||
luamethod(LuaLocalPlayer, get_hp),
|
||||
luamethod(LuaLocalPlayer, get_name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue