diff options
author | madmaxoft <github@xoft.cz> | 2013-10-02 08:49:15 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-02 08:49:15 +0200 |
commit | 02c41b6f1dd8b0a197997c0e73f81d00493ac863 (patch) | |
tree | 1e22a993f8c0469d1b76ffcc5e5813246d7fb200 /MCServer/Plugins/APIDump/APIDesc.lua | |
parent | Merge pull request #201 from SamJBarney/master (diff) | |
download | cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar.gz cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar.bz2 cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar.lz cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar.xz cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.tar.zst cuberite-02c41b6f1dd8b0a197997c0e73f81d00493ac863.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 187fdeb9b..643214de3 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -674,8 +674,12 @@ World:ForEachChestInChunk(Player:GetChunkX(), Player:GetChunkZ(), ]], Functions = { - constructor = { Params = "", Return = "cEnchantments", Notes = "Creates a new empty cEnchantments object" }, - constructor = { Params = "StringSpec", Return = "cEnchantments", Notes = "Creates a new cEnchantments object filled with enchantments based on the string description" }, + constructor = + { + { Params = "", Return = "cEnchantments", Notes = "Creates a new empty cEnchantments object" }, + { Params = "StringSpec", Return = "cEnchantments", Notes = "Creates a new cEnchantments object filled with enchantments based on the string description" }, + }, + operator_eq = { Params = "OtherEnchantments", Return = "bool", Notes = "Returns true if this enchantments object has the same enchantments as OtherEnchantments." }, AddFromString = { Params = "StringSpec", Return = "", Notes = "Adds the enchantments in the string description into the object. If a specified enchantment already existed, it is overwritten." }, Clear = { Params = "", Return = "", Notes = "Removes all enchantments" }, GetLevel = { Params = "EnchantmentNumID", Return = "number", Notes = "Returns the level of the specified enchantment stored in this object; 0 if not stored" }, |