Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Fix 1.18.2->1.19 CHAT_MESSAGE using static timestamp (#495)
Dieser Commit ist enthalten in:
Ursprung
3695df1e44
Commit
98304168b8
@ -234,7 +234,7 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
|||||||
@Override
|
@Override
|
||||||
public void registerMap() {
|
public void registerMap() {
|
||||||
map(Type.STRING); // Message
|
map(Type.STRING); // Message
|
||||||
create(Type.LONG, Instant.now().toEpochMilli()); // Timestamp
|
handler(wrapper -> wrapper.write(Type.LONG, Instant.now().toEpochMilli())); // Timestamp
|
||||||
create(Type.LONG, 0L); // Salt
|
create(Type.LONG, 0L); // Salt
|
||||||
handler(wrapper -> {
|
handler(wrapper -> {
|
||||||
final String message = wrapper.get(Type.STRING, 0);
|
final String message = wrapper.get(Type.STRING, 0);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren