summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-28 12:32:43 +0100
committermtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-28 12:32:43 +0100
commit8b726a53e727fbdde89d62df1ffca028f4090772 (patch)
tree4135676e2d1c88f6aa14a775a6cf3c4e4f0c9c93 /source
parent - Added chicken to eating (diff)
downloadcuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar.gz
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar.bz2
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar.lz
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar.xz
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.tar.zst
cuberite-8b726a53e727fbdde89d62df1ffca028f4090772.zip
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 39b566ba9..6bde57bbc 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -870,6 +870,14 @@ void cClientHandle::HandlePacket( cPacket* a_Packet )
m_Player->Heal( 8 );
bEat = true;
break;
+ case E_ITEM_RAW_BEEF:
+ m_Player->Heal(3);
+ bEat = true;
+ break;
+ case E_ITEM_STEAK:
+ m_Player->Heal( 8 );
+ bEat = true;
+ break;
default:
break;
};