diff options
author | madmaxoft <github@xoft.cz> | 2014-04-23 23:06:29 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-23 23:06:29 +0200 |
commit | 695baed22641aa420787d99cedae5aeb6d2938e7 (patch) | |
tree | dbf295b0be76e85e7c74ecb13aaee1ae381b735f /src | |
parent | Updated NetherFort prefabs to latest Gallery content. (diff) | |
download | cuberite-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 'src')
-rw-r--r-- | src/Enchantments.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h index dc5502702..ec42257c8 100644 --- a/src/Enchantments.h +++ b/src/Enchantments.h @@ -99,7 +99,7 @@ public: /** Returns true if there are no enchantments */ bool IsEmpty(void) const; - /** Converts enchantment name to the numeric representation; returns -1 if enchantment name not found; case insensitive */ + /** Converts enchantment name or ID (number in string) to the numeric representation; returns -1 if enchantment name not found; case insensitive */ static int StringToEnchantmentID(const AString & a_EnchantmentName); /** Returns true if a_Other contains exactly the same enchantments and levels */ |