summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 22:41:55 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-16 22:41:55 +0100
commit952c53eb4eb3178f70f1910baabda877da00dfa3 (patch)
tree5dee304a3afe014561b6dd1ddb08979c92e653a0 /src/Item.h
parentReally did what xoft wanted (diff)
downloadcuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar.gz
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar.bz2
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar.lz
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar.xz
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.tar.zst
cuberite-952c53eb4eb3178f70f1910baabda877da00dfa3.zip
Diffstat (limited to 'src/Item.h')
-rw-r--r--src/Item.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Item.h b/src/Item.h
index 534632e2e..727965112 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -133,11 +133,7 @@ public:
bool IsCustomNameEmpty(void) const { return (m_CustomName.empty()); }
- bool IsLoreEmpty(void) const { return (m_Lore.empty()); }
-
- /** Copies specified internal variables from another item to this item */
- void CustomCopy(cItem & a_OtherItem, bool a_CopyType, bool a_CopyCount, bool a_CopyDamage, bool a_CopyEnchantments, bool a_CopyCustomName, bool a_CopyLore);
-
+ bool IsLoreEmpty(void) const { return (m_Lore.empty()); }
/// Returns a copy of this item with m_ItemCount set to 1. Useful to preserve enchantments etc. on stacked items
cItem CopyOne(void) const;