mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Prevent NPE by not checking hotloader when null
This commit is contained in:
@@ -113,8 +113,10 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
J.a(() -> hotloader.check());
|
if (hotloader != null) {
|
||||||
getComposite().clean();
|
J.a(() -> hotloader.check());
|
||||||
|
getComposite().clean();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
catch(Throwable e)
|
catch(Throwable e)
|
||||||
|
|||||||
Reference in New Issue
Block a user