From ac5e8dbaffea39a5687e7302c605f1d3ab7bca79 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 3 Jun 2013 17:55:00 +1000 Subject: [PATCH] Fix the bad packets! Naughty naughty packets! --- .../md_5/bungee/protocol/packet/PacketCFScoreboardScore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/PacketCFScoreboardScore.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/PacketCFScoreboardScore.java index 8d7257aad..e55efa1ef 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/PacketCFScoreboardScore.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/PacketCFScoreboardScore.java @@ -29,7 +29,7 @@ public class PacketCFScoreboardScore extends DefinedPacket { itemName = readString( buf ); action = buf.readByte(); - if ( action == 0 ) + if ( action != 1 ) { scoreName = readString( buf ); value = buf.readInt(); @@ -41,7 +41,7 @@ public class PacketCFScoreboardScore extends DefinedPacket { writeString( itemName, buf ); buf.writeByte( action ); - if ( action == 0 ) + if ( action != 1 ) { writeString( scoreName, buf ); buf.writeInt( value );