9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00

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

View File

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