Skip to content

Commit

Permalink
fix: ic timer rendering not synced after world load
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTJP committed May 1, 2024
1 parent 4d94b9a commit 0a32fe5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ public void load(CompoundTag tag) {

public void writeDesc(MCDataOutput out) {
out.writeByte(currentState);
out.writeLong(lastSimStartTime);
simulationContainer.writeDesc(out);
compilerLog.writeDesc(out);
writeAutoCompileState(out);
}

public void readDesc(MCDataInput in) {
currentState = in.readUByte();
lastSimStartTime = in.readLong();
simulationContainer.readDesc(in);
compilerLog.readDesc(in);
readAutoCompileState(in);
Expand Down

0 comments on commit 0a32fe5

Please sign in to comment.