summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:05:48 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-11 15:05:48 +0100
commit6b34a944779e53d8708e40c1420e0672d451dd01 (patch)
treecb70273e166fc9d723ed537284c309a449721669 /source/Item.h
parentHopefully a fix for crash when chunks are added to a client being destroyed. (diff)
downloadcuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar.gz
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar.bz2
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar.lz
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar.xz
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.tar.zst
cuberite-6b34a944779e53d8708e40c1420e0672d451dd01.zip
Diffstat (limited to '')
-rw-r--r--source/Item.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/Item.h b/source/Item.h
index aa4b76bbc..812ba247d 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -43,14 +43,6 @@ public:
return (m_ItemID <= 0 || m_ItemCount <= 0);
}
- // tolua_end
- OBSOLETE
- // tolua_begin
- bool Equals(const cItem & a_Item) const // obsolete, use IsEqual() instead
- {
- return IsEqual(a_Item);
- }
-
bool IsEqual(const cItem & a_Item) const
{
return (IsSameType(a_Item) && (m_ItemHealth == a_Item.m_ItemHealth));