mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 10:39:07 +00:00
Fix npe in post
This commit is contained in:
@@ -253,7 +253,7 @@ public class PostMasterPatcher extends IrisPostBlockFilter
|
||||
{
|
||||
IrisBiome cave = gen.sampleTrueBiome(x, 1, z);
|
||||
|
||||
if(cave.getInferredType().equals(InferredType.CAVE))
|
||||
if(cave != null && cave.getInferredType().equals(InferredType.CAVE))
|
||||
{
|
||||
for(CaveResult i : gen.getCaves(x, z))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user