add null checks for obsidian pipes, fix #2111