mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Fix NPE by checking if null before calling on it.
This commit is contained in:
1 parent
0ae7b9c120
commit
3ba3e5cf76
1 file changed
+1
-1
@@ -132,7 +132,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
}
|
||||
|
||||
public void tick() {
|
||||
if (isClosed()) {
|
||||
if (getComposite() == null || isClosed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user