mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Prevent NPE by not checking hotloader when null
This commit is contained in:
parent
552a87462a
commit
aafed9b1b7
@ -113,8 +113,10 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
|
||||
try
|
||||
{
|
||||
J.a(() -> hotloader.check());
|
||||
getComposite().clean();
|
||||
if (hotloader != null) {
|
||||
J.a(() -> hotloader.check());
|
||||
getComposite().clean();
|
||||
}
|
||||
}
|
||||
|
||||
catch(Throwable e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user