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