diff options
author | r.ramazanov <r.ramazanov@servplus.ru> | 2014-04-24 08:32:26 +0200 |
---|---|---|
committer | r.ramazanov <r.ramazanov@servplus.ru> | 2014-04-24 08:32:26 +0200 |
commit | d126adc124adb4f0a7bf5a28d43c263216f629b3 (patch) | |
tree | 52c4b374f58d6f7d61ab46828182f10bc50735e0 /src/Enchantments.h | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
parent | Updated docs for StringToEnchantmentID. (diff) | |
download | cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar.gz cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar.bz2 cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar.lz cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar.xz cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.tar.zst cuberite-d126adc124adb4f0a7bf5a28d43c263216f629b3.zip |
Diffstat (limited to '')
-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 */ |