Add get_wielded_item
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user