can't break nether roof, fixes #164
This commit is contained in:
parent
ef396829f0
commit
796be3da79
@ -128,6 +128,9 @@ public final class CachedChunk implements IBlockTypeAccess {
|
|||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
PathingBlockType type = getType(x, y, z);
|
PathingBlockType type = getType(x, y, z);
|
||||||
|
if (type == PathingBlockType.SOLID && y == 128 && mc.player.dimension == -1) {
|
||||||
|
return Blocks.BEDROCK.getDefaultState();
|
||||||
|
}
|
||||||
return ChunkPacker.pathingTypeToBlock(type);
|
return ChunkPacker.pathingTypeToBlock(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user