From e92b9e7ecbdf2918aab59d4eeb7bb5966430b264 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 24 Aug 2012 07:58:26 +0000 Subject: Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChestEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cChestEntity.h') diff --git a/source/cChestEntity.h b/source/cChestEntity.h index c97eef5ad..9b747c184 100644 --- a/source/cChestEntity.h +++ b/source/cChestEntity.h @@ -39,7 +39,7 @@ public: bool LoadFromJson( const Json::Value& a_Value ); virtual void SaveToJson(Json::Value& a_Value ) override; - void SendTo( cClientHandle* a_Client, cServer* a_Server ); + virtual void SendTo(cClientHandle & a_Client) override; virtual void UsedBy( cPlayer * a_Player ) override; -- cgit v1.2.3