mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add get_wielded_item
This commit is contained in:
parent
44ca9c9cb2
commit
88df9fb5b6
15 changed files with 92 additions and 33 deletions
|
@ -43,6 +43,12 @@ Client *ModApiBase::getClient(lua_State *L)
|
|||
return getScriptApiBase(L)->getClient();
|
||||
}
|
||||
#endif
|
||||
|
||||
IGameDef *ModApiBase::getGameDef(lua_State *L)
|
||||
{
|
||||
return getScriptApiBase(L)->getGameDef();
|
||||
}
|
||||
|
||||
Environment *ModApiBase::getEnv(lua_State *L)
|
||||
{
|
||||
return getScriptApiBase(L)->getEnv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue