@@ -74,8 +74,6 @@ public class UpdateTeamsPacket implements MinecraftPacket {
|
|||||||
ProtocolUtils.writeString(byteBuf, name);
|
ProtocolUtils.writeString(byteBuf, name);
|
||||||
byteBuf.writeByte(mode.ordinal());
|
byteBuf.writeByte(mode.ordinal());
|
||||||
|
|
||||||
ProtocolUtils.writeString(byteBuf, name);
|
|
||||||
byteBuf.writeByte(mode.ordinal());
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case CREATE, UPDATE:
|
case CREATE, UPDATE:
|
||||||
new ComponentHolder(protocolVersion, displayName).write(byteBuf);
|
new ComponentHolder(protocolVersion, displayName).write(byteBuf);
|
||||||
|
|||||||
Reference in New Issue
Block a user