summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.h
diff options
context:
space:
mode:
authorr.ramazanov <r.ramazanov@servplus.ru>2014-04-24 08:32:26 +0200
committerr.ramazanov <r.ramazanov@servplus.ru>2014-04-24 08:32:26 +0200
commitd126adc124adb4f0a7bf5a28d43c263216f629b3 (patch)
tree52c4b374f58d6f7d61ab46828182f10bc50735e0 /src/Enchantments.h
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
parentUpdated docs for StringToEnchantmentID. (diff)
downloadcuberite-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 'src/Enchantments.h')
-rw-r--r--src/Enchantments.h2
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 */