Fix scoreboard issue
This commit is contained in:
@@ -168,7 +168,6 @@ public class ScoreboardTeam implements MinecraftPacket {
|
|||||||
buf.writeByte(flags);
|
buf.writeByte(flags);
|
||||||
ProtocolUtils.writeString(buf, nameTagVisibility);
|
ProtocolUtils.writeString(buf, nameTagVisibility);
|
||||||
ProtocolUtils.writeString(buf, collisionRule);
|
ProtocolUtils.writeString(buf, collisionRule);
|
||||||
buf.writeByte(color);
|
|
||||||
if (protocolVersion >= ProtocolConstants.MINECRAFT_1_13) {
|
if (protocolVersion >= ProtocolConstants.MINECRAFT_1_13) {
|
||||||
ProtocolUtils.writeVarInt(buf, color);
|
ProtocolUtils.writeVarInt(buf, color);
|
||||||
ProtocolUtils.writeScoreboardTextComponent(buf, protocolVersion, prefix);
|
ProtocolUtils.writeScoreboardTextComponent(buf, protocolVersion, prefix);
|
||||||
|
Reference in New Issue
Block a user