Disable latest feature due to it breaking signs (no more sync chunks for now)

This commit is contained in:
Myles 2016-03-06 15:10:54 +00:00
parent 736a853a85
commit 2d2018b8d0
3 changed files with 6 additions and 6 deletions

View File

@ -67,11 +67,11 @@ public class ViaEncodeHandler extends MessageToByteEncoder {
}
};
// Synced allows timings to work properly.
if (ViaVersion.getInstance().isSyncedChunks()) {
((ViaVersionPlugin) ViaVersion.getInstance()).run(chunks, false);
} else {
// if (ViaVersion.getInstance().isSyncedChunks()) {
// ((ViaVersionPlugin) ViaVersion.getInstance()).run(chunks, false);
// } else {
chunks.run();
}
// }
bytebuf.readBytes(bytebuf.readableBytes());
throw new CancelException();
}

View File

@ -727,9 +727,8 @@ public class OutgoingTransformer {
} else {
if ((!line.startsWith("\"") || !line.endsWith("\"")) && (!line.startsWith("{")|| !line.endsWith("}"))) {
JSONObject obj = new JSONObject();
obj.put("text", line);
line = obj.toJSONString();
return obj.toJSONString();
}
if (line.startsWith("\"") && line.endsWith("\"")) {
line = "{\"text\":" + line + "}";

View File

@ -1,4 +1,5 @@
# Should ViaVersion check for updates?
checkforupdates: true
# 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