3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-09-29 14:40:21 +02:00

Fix scoreboard issue

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-07-30 22:28:07 -04:00
Ursprung ed8a279cd1
Commit a45adbc8ec

Datei anzeigen

@ -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);