summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
committerworktycho <work.tycho@gmail.com>2015-11-23 23:57:59 +0100
commit2d408e864706a4dd8d7c227edefd281f6a627895 (patch)
tree5ebe9e808e82c22a427429881526fb0ce390deb4 /Server
parentFixed display of helpmessage (diff)
parentchange from single followable item to multiple (diff)
downloadcuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.gz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.bz2
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.lz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.xz
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.tar.zst
cuberite-2d408e864706a4dd8d7c227edefd281f6a627895.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua2
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