Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 13:52:50 +02:00
Ursprung
8fb51bf3b7
Commit
46ca469a4a
@ -263,14 +263,6 @@ public class WorldPackets {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Byte[] fromPrimitiveArray(byte[] bytes) {
|
||||
Byte[] newArray = new Byte[bytes.length];
|
||||
for (int i = 0; i < bytes.length; i++) {
|
||||
newArray[i] = bytes[i];
|
||||
}
|
||||
return newArray;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -109,6 +109,9 @@ public final class Protocol1_17_1To1_17 extends AbstractProtocol<ClientboundPack
|
||||
String title = wrapper.read(TITLE_STRING_TYPE);
|
||||
tag.put("title", new StringTag(title));
|
||||
|
||||
// Even if unused, legacy servers check for the author tag
|
||||
tag.put("author", new StringTag(wrapper.user().getProtocolInfo().getUsername()));
|
||||
|
||||
// Write signing
|
||||
wrapper.write(Type.BOOLEAN, true);
|
||||
} else {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren