block inventory auto-position

This commit is contained in:
MihailRis
2024-02-18 23:05:58 +03:00
parent 96032b60ea
commit b06142abb9
4 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ int l_hud_open_block(lua_State* L) {
x, y, z
);
}
scripting::hud->openInventory(
glm::ivec3(x, y, z), layout, scripting::level->inventories->get(id)
);