mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
inventory convert fix (items count)
This commit is contained in:
parent
bad871b0a2
commit
2a77c24414
5 changed files with 16 additions and 4 deletions
|
|
@ -91,7 +91,8 @@ static int l_reconfig_packs(lua_State* L) {
|
|||
}
|
||||
auto controller = scripting::engine->getController();
|
||||
controller->reconfigPacks(scripting::controller, addPacks, remPacks);
|
||||
return 0;
|
||||
lua_pushboolean(L, scripting::controller != nullptr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int l_get_bindings(lua_State* L) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue