Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Disable latest feature due to it breaking signs (no more sync chunks for now)
Dieser Commit ist enthalten in:
Ursprung
736a853a85
Commit
2d2018b8d0
@ -67,11 +67,11 @@ public class ViaEncodeHandler extends MessageToByteEncoder {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
// Synced allows timings to work properly.
|
// Synced allows timings to work properly.
|
||||||
if (ViaVersion.getInstance().isSyncedChunks()) {
|
// if (ViaVersion.getInstance().isSyncedChunks()) {
|
||||||
((ViaVersionPlugin) ViaVersion.getInstance()).run(chunks, false);
|
// ((ViaVersionPlugin) ViaVersion.getInstance()).run(chunks, false);
|
||||||
} else {
|
// } else {
|
||||||
chunks.run();
|
chunks.run();
|
||||||
}
|
// }
|
||||||
bytebuf.readBytes(bytebuf.readableBytes());
|
bytebuf.readBytes(bytebuf.readableBytes());
|
||||||
throw new CancelException();
|
throw new CancelException();
|
||||||
}
|
}
|
||||||
|
@ -727,9 +727,8 @@ public class OutgoingTransformer {
|
|||||||
} else {
|
} else {
|
||||||
if ((!line.startsWith("\"") || !line.endsWith("\"")) && (!line.startsWith("{")|| !line.endsWith("}"))) {
|
if ((!line.startsWith("\"") || !line.endsWith("\"")) && (!line.startsWith("{")|| !line.endsWith("}"))) {
|
||||||
JSONObject obj = new JSONObject();
|
JSONObject obj = new JSONObject();
|
||||||
|
|
||||||
obj.put("text", line);
|
obj.put("text", line);
|
||||||
line = obj.toJSONString();
|
return obj.toJSONString();
|
||||||
}
|
}
|
||||||
if (line.startsWith("\"") && line.endsWith("\"")) {
|
if (line.startsWith("\"") && line.endsWith("\"")) {
|
||||||
line = "{\"text\":" + line + "}";
|
line = "{\"text\":" + line + "}";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Should ViaVersion check for updates?
|
# Should ViaVersion check for updates?
|
||||||
checkforupdates: true
|
checkforupdates: true
|
||||||
# Should we send any bulk chunks, in sync (may be slower but fixes timings)
|
# Should we send any bulk chunks, in sync (may be slower but fixes timings)
|
||||||
|
# Currently broken due to sign updates, possibly will return
|
||||||
sync-chunks: true
|
sync-chunks: true
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren