summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
commit8ba6f731699465aa13818e307af7b9f001d3767e (patch)
treebb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Item.h
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.gz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.bz2
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.lz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.xz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.zst
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.zip
Diffstat (limited to '')
-rw-r--r--src/Item.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Item.h b/src/Item.h
index 727965112..1afb5938a 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -55,9 +55,9 @@ public:
m_ItemType (a_ItemType),
m_ItemCount (a_ItemCount),
m_ItemDamage (a_ItemDamage),
- m_Enchantments(a_Enchantments),
m_CustomName (a_CustomName),
- m_Lore (a_Lore)
+ m_Lore (a_Lore),
+ m_Enchantments(a_Enchantments)
{
if (!IsValidItem(m_ItemType))
{
@@ -75,9 +75,9 @@ public:
m_ItemType (a_CopyFrom.m_ItemType),
m_ItemCount (a_CopyFrom.m_ItemCount),
m_ItemDamage (a_CopyFrom.m_ItemDamage),
- m_Enchantments(a_CopyFrom.m_Enchantments),
m_CustomName (a_CopyFrom.m_CustomName),
- m_Lore (a_CopyFrom.m_Lore)
+ m_Lore (a_CopyFrom.m_Lore),
+ m_Enchantments(a_CopyFrom.m_Enchantments)
{
}