mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Fix npe in post
This commit is contained in:
1 parent
4f6a676c32
commit
7322f1a9fb
1 file changed
+1
-1
@@ -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