mirror of
https://github.com/minetest/minetest.git
synced 2024-12-03 13:03:45 +01: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
@ -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…
Reference in New Issue
Block a user