fix item.caption

This commit is contained in:
Xertis 2024-10-19 18:56:30 +03:00 committed by GitHub
parent fa74e59818
commit 5ffa6966b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,4 +60,5 @@ const luaL_Reg itemlib[] = {
{"stack_size", lua::wrap<l_item_stack_size>},
{"defs_count", lua::wrap<l_item_defs_count>},
{"icon", lua::wrap<l_item_get_icon>},
{"caption", lua::wrap<l_item_caption>},
{NULL, NULL}};