diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-11-14 16:42:26 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-11-23 22:20:31 +0100 |
commit | 853e6e6882969f24547d782d42a3c19df4395064 (patch) | |
tree | 5ebe9e808e82c22a427429881526fb0ce390deb4 /Server/Plugins/APIDump | |
parent | Fixed display of helpmessage (diff) | |
download | cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.gz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.bz2 cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.lz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.xz cuberite-853e6e6882969f24547d782d42a3c19df4395064.tar.zst cuberite-853e6e6882969f24547d782d42a3c19df4395064.zip |
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 02ce1f894..ab3f2c65b 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -1550,6 +1550,8 @@ end { Params = "Index, ItemType, ItemCount, ItemDamage", Return = "", Notes = "Sets the item at the specified index to the specified item" }, }, Size = { Params = "", Return = "number", Notes = "Returns the number of items in the collection" }, + Contains = { Params = "{{cItem|cItem}}", Return = "bool", Notes = "Returns true if the collection contains an item that is fully equivalent to the parameter" }, + ContainsType = { Params = "{{cItem|cItem}}", Return = "bool", Notes = "Returns true if the collection contains an item that is the same type as the parameter" }, }, }, -- cItems |