mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix npe in post
This commit is contained in:
parent
4f6a676c32
commit
7322f1a9fb
@ -253,7 +253,7 @@ public class PostMasterPatcher extends IrisPostBlockFilter
|
|||||||
{
|
{
|
||||||
IrisBiome cave = gen.sampleTrueBiome(x, 1, z);
|
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))
|
for(CaveResult i : gen.getCaves(x, z))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user