Merge pull request #443 from CocoTheOwner/fixCompoundNPE

Fix NPE by checking if null before calling on it.
This commit is contained in:
Dan 2021-07-21 09:37:35 -04:00 committed by GitHub
commit b203fc7c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
}
public void tick() {
if (isClosed()) {
if (getComposite() == null || isClosed()) {
return;
}