From f48b5f541aa6bf46c590ac7fc92383ff88c8affa Mon Sep 17 00:00:00 2001 From: Sheepit Renderfarm Date: Mon, 3 Jan 2022 21:27:16 +0000 Subject: [PATCH] Fix: nullpointerexception --- src/com/sheepit/client/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sheepit/client/Client.java b/src/com/sheepit/client/Client.java index 3e3f8ae..00d409a 100644 --- a/src/com/sheepit/client/Client.java +++ b/src/com/sheepit/client/Client.java @@ -1077,7 +1077,7 @@ import okhttp3.HttpUrl; this.previousJob = ajob; //count frames if they are not test frames and got validated correctly - if (confirmJobReturnCode == Error.Type.OK && Integer.parseInt(this.renderingJob.getId()) >= MIN_JOB_ID) { + if (confirmJobReturnCode == Error.Type.OK && Integer.parseInt(ajob.getId()) >= MIN_JOB_ID) { gui.AddFrameRendered(); }