mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
MetaDataRef: Add contains() and get() (#7214)
This commit is contained in:
parent
54606e103d
commit
0b5b32b026
8 changed files with 72 additions and 6 deletions
|
@ -123,6 +123,8 @@ void ItemStackMetaRef::Register(lua_State *L)
|
|||
|
||||
const char ItemStackMetaRef::className[] = "ItemStackMetaRef";
|
||||
const luaL_Reg ItemStackMetaRef::methods[] = {
|
||||
luamethod(MetaDataRef, contains),
|
||||
luamethod(MetaDataRef, get),
|
||||
luamethod(MetaDataRef, get_string),
|
||||
luamethod(MetaDataRef, set_string),
|
||||
luamethod(MetaDataRef, get_int),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue