mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
MetaDataRef: Add contains() and get() (#7214)
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user