summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.h
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-04-12 14:58:46 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-04-12 14:58:46 +0200
commite6e702e7fdbc8b7475d3dbecc0f81a08304997ae (patch)
tree1764949b84b4ae7a9da2330a90513c301d707820 /src/Enchantments.h
parentModified comment (diff)
downloadcuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.gz
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.bz2
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.lz
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.xz
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.tar.zst
cuberite-e6e702e7fdbc8b7475d3dbecc0f81a08304997ae.zip
Diffstat (limited to '')
-rw-r--r--src/Enchantments.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h
index 2af772928..70d6b6613 100644
--- a/src/Enchantments.h
+++ b/src/Enchantments.h
@@ -29,7 +29,7 @@ Level value of 0 means no such enchantment, and it will not be stored in the m_E
Serialization will never put zero-level enchantments into the stringspec and will always use numeric IDs.
*/
-typedef std::vector<cEnchantments> cEnchantmentsArray;
+typedef std::vector<cEnchantments> cEnchantmentsVector;
// tolua_begin
class cEnchantments
@@ -105,7 +105,7 @@ public:
/// Reads the enchantments from the specified NBT list tag (ench or StoredEnchantments)
friend void EnchantmentSerializer::ParseFromNBT(cEnchantments& a_Enchantments, const cParsedNBT & a_NBT, int a_EnchListTagIdx);
-
+
protected:
/// Maps enchantment ID -> enchantment level
typedef std::map<int, int> cMap;