Merge branch 'fix/NPE' into 'master'

Fix: nullpointerexception

See merge request sheepitrenderfarm/client!98
This commit is contained in:
Sheepit Renderfarm
2022-01-03 21:27:17 +00:00

View File

@@ -1077,7 +1077,7 @@ import okhttp3.HttpUrl;
this.previousJob = ajob; this.previousJob = ajob;
//count frames if they are not test frames and got validated correctly //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(); gui.AddFrameRendered();
} }