can't break nether roof, fixes #164

This commit is contained in:
Leijurv 2018-09-12 16:29:10 -07:00
parent ef396829f0
commit 796be3da79
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -128,6 +128,9 @@ public final class CachedChunk implements IBlockTypeAccess {
return state;
}
PathingBlockType type = getType(x, y, z);
if (type == PathingBlockType.SOLID && y == 128 && mc.player.dimension == -1) {
return Blocks.BEDROCK.getDefaultState();
}
return ChunkPacker.pathingTypeToBlock(type);
}