summaryrefslogtreecommitdiffstats
path: root/source/packets
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-07 06:49:18 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-07 06:49:18 +0100
commitf07ade2c5834c6eb2b19dbbf0818745c47907ee5 (patch)
tree4b9720bb54b92eb9182f3c86ddb4eb936026ad29 /source/packets
parentAdded three new packets and cleaned up cPacket_Thunderbolt.cpp... cPacket_BlockAction, cPacket_Explosion, and cPacket_SoundEffect. (diff)
downloadcuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar.gz
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar.bz2
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar.lz
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar.xz
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.tar.zst
cuberite-f07ade2c5834c6eb2b19dbbf0818745c47907ee5.zip
Diffstat (limited to 'source/packets')
-rw-r--r--source/packets/cPacket_BlockAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_BlockAction.cpp b/source/packets/cPacket_BlockAction.cpp
index c19cf82f1..adbd9b93f 100644
--- a/source/packets/cPacket_BlockAction.cpp
+++ b/source/packets/cPacket_BlockAction.cpp
@@ -21,7 +21,7 @@ bool cPacket_BlockAction::Send(cSocket & a_Socket)
AppendShort ( m_PosY, Message, i );
AppendInteger ( m_PosZ, Message, i );
AppendByte ( m_Byte1, Message, i );
- AppendByte ( m_Byte1, Message, i );
+ AppendByte ( m_Byte2, Message, i );
bool RetVal = !cSocket::IsSocketError( SendData( a_Socket, Message, TotalSize, 0 ) );
delete [] Message;