summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-23 23:06:29 +0200
committermadmaxoft <github@xoft.cz>2014-04-23 23:06:29 +0200
commit695baed22641aa420787d99cedae5aeb6d2938e7 (patch)
treedbf295b0be76e85e7c74ecb13aaee1ae381b735f /MCServer/Plugins/APIDump/APIDesc.lua
parentUpdated NetherFort prefabs to latest Gallery content. (diff)
downloadcuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar.gz
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar.bz2
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar.lz
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar.xz
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.tar.zst
cuberite-695baed22641aa420787d99cedae5aeb6d2938e7.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 45e8d9677..1423d64bc 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -699,7 +699,7 @@ end</pre>
GetLevel = { Params = "EnchantmentNumID", Return = "number", Notes = "Returns the level of the specified enchantment stored in this object; 0 if not stored" },
IsEmpty = { Params = "", Return = "bool", Notes = "Returns true if the object stores no enchantments" },
SetLevel = { Params = "EnchantmentNumID, Level", Return = "", Notes = "Sets the level for the specified enchantment, adding it if not stored before or removing it if level < = 0" },
- StringToEnchantmentID = { Params = "EnchantmentTextID", Return = "number", Notes = "(static) Returns the enchantment numerical ID, -1 if not understood. Case insensitive" },
+ StringToEnchantmentID = { Params = "EnchantmentTextID", Return = "number", Notes = "(static) Returns the enchantment numerical ID, -1 if not understood. Case insensitive. Also understands plain numbers." },
ToString = { Params = "", Return = "string", Notes = "Returns the string description of all the enchantments stored in this object, in numerical-ID form" },
},
Constants =