forked from Mirrorlandia_minetest/minetest
parent
c94d37827d
commit
732c8008f4
@ -164,7 +164,7 @@ void push_item_definition_full(lua_State *L, const ItemDefinition &i)
|
|||||||
lua_setfield(L, -2, "usable");
|
lua_setfield(L, -2, "usable");
|
||||||
lua_pushboolean(L, i.liquids_pointable);
|
lua_pushboolean(L, i.liquids_pointable);
|
||||||
lua_setfield(L, -2, "liquids_pointable");
|
lua_setfield(L, -2, "liquids_pointable");
|
||||||
if (i.type == ITEM_TOOL) {
|
if (i.tool_capabilities) {
|
||||||
push_tool_capabilities(L, *i.tool_capabilities);
|
push_tool_capabilities(L, *i.tool_capabilities);
|
||||||
lua_setfield(L, -2, "tool_capabilities");
|
lua_setfield(L, -2, "tool_capabilities");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user