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