diff options
author | madmaxoft <github@xoft.cz> | 2013-10-20 23:43:09 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-20 23:43:09 +0200 |
commit | b571294b6e24c3ae152f2017caf4013365efdccf (patch) | |
tree | c92abfaa20acd987ec1162201b9cd1fbd755871c /MCServer/Plugins | |
parent | APIDump: Fixed link in cPawn's desc. (diff) | |
download | cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar.gz cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar.bz2 cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar.lz cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar.xz cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.tar.zst cuberite-b571294b6e24c3ae152f2017caf4013365efdccf.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 5893825b8..1a7072f04 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -1100,7 +1100,11 @@ These ItemGrids are available in the API and can be manipulated by the plugins, {{cEnchantments}} class and are accessible through the m_Enchantments variable.</p> <p> To test if a cItem object represents an empty item, do not compare the item type nor the item count, - but rather use the IsEmpty() function. + but rather use the IsEmpty() function.</p> + <p> + To translate from a cItem to its string representation, use the {{Globals#functions|global function}} + ItemToString(), ItemTypeToString() or ItemToFullString(). To translate from a string to a cItem, + use the StringToItem() global function. ]], Functions = |