From e7731242c1315df230bffbf0593e1a608aa791a3 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 10 Mar 2012 21:34:47 +0000 Subject: Using references instead of pointers for sending packets git-svn-id: http://mc-server.googlecode.com/svn/trunk@394 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cBlockEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cBlockEntity.h') diff --git a/source/cBlockEntity.h b/source/cBlockEntity.h index ab0a6c6ca..3f0190c77 100644 --- a/source/cBlockEntity.h +++ b/source/cBlockEntity.h @@ -66,7 +66,7 @@ public: } if ( a_Client != NULL ) { - a_Client->Send(Packet.get()); + a_Client->Send(*(Packet.get())); } else // broadcast to all chunk clients { -- cgit v1.2.3