mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 14:50:57 +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);
|
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))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user