Skip to content

Commit

Permalink
Fix QuiltGuiSyncBase.sendUpdate bypassing QuiltFork.send
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexIIL committed Apr 6, 2024
1 parent 3306e61 commit ccb556b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ final void sendUpdate(String name, LObject data) {
map.put("syncType", lvf().string(syncType()));
map.put("data", data);

QuiltForkComms comms = QuiltForkComms.getCurrentComms();
if (comms == null) {
throw new IllegalStateException("Forked communication failure; see logs for details!");
} else {
comms.send(lvf().object(map));
}
QuiltFork.sendRaw(lvf().object(map));
}

void handleUpdate(String name, LObject data) throws IOException {
Expand Down

0 comments on commit ccb556b

Please sign in to comment.